---
title: 'CLI Overview'
description: 'Unified command-line interface for all Panguard AI security operations.'
icon: 'terminal'
---

The Panguard CLI is your single entry point for scanning, protecting, monitoring, and managing endpoint security. Every feature -- from a quick vulnerability scan to deploying a honeypot network -- is accessible through one binary.

## Usage

```bash
pga <command> [options]
```

<Tip>
  `pga` is a shortcut for `panguard`. Both work identically. Use whichever you prefer.
</Tip>

### Quick Commands

| Command          | What it does                     |
| ---------------- | -------------------------------- |
| `pga`            | Open interactive menu            |
| `pga up`         | Start protection + dashboard     |
| `pga setup`      | Auto-configure AI platforms      |
| `pga scan`       | Scan all installed skills        |
| `pga audit skill <path>` | Audit a skill before installing |

## Global Options

| Option          | Description                                     |
| --------------- | ----------------------------------------------- |
| `--help`        | Show help for any command                       |
| `--version`     | Print the installed Panguard CLI version        |
| `--lang <lang>` | Set output language (`en`, `zh-TW`, `ja`, etc.) |

## Command Categories

### Scanning

| Command             | Description                             |
| ------------------- | --------------------------------------- |
| [`scan`](/cli/scan) | Run security scans on the local machine |

### Protection

| Command               | Description                         |
| --------------------- | ----------------------------------- |
| [`guard`](/cli/guard) | Real-time endpoint protection agent |
| [`trap`](/cli/trap)   | Honeypot / deception technology     |

### System

| Command                   | Description                                      |
| ------------------------- | ------------------------------------------------ |
| [`init`](/cli/init)       | Initialize configuration for the current machine |
| [`status`](/cli/status)   | Show overall system health                       |
| [`config`](/cli/config)   | View or edit configuration                       |
| [`doctor`](/cli/doctor)   | Diagnose common system issues                    |
| [`upgrade`](/cli/upgrade) | Update Panguard CLI to the latest version        |

### Advanced

| Command                 | Description                                      |
| ----------------------- | ------------------------------------------------ |
| [`threat`](/cli/threat) | Start the local Threat Cloud intelligence server |

## Feature Availability

All commands are available to everyone. Panguard is 100% open source under the MIT license.

## Installation

If you have not installed the CLI yet, run:

```bash
curl -fsSL https://get.panguard.ai | bash
```

<Info>
  See the [Installation](/installation) page for platform-specific instructions including Homebrew,
  APT, and Docker options.
</Info>

## Next Steps

<CardGroup cols={2}>
  <Card title="Quick Start" icon="rocket" href="/quickstart">
    Get from zero to your first scan in under 5 minutes.
  </Card>
  <Card title="panguard scan" icon="magnifying-glass" href="/cli/scan">
    Run your first security scan.
  </Card>
  <Card title="panguard guard" icon="shield" href="/cli/guard">
    Enable real-time endpoint protection.
  </Card>
  <Card title="Quick Start" icon="user-plus" href="/quickstart">
    Get started with Panguard security tools.
  </Card>
</CardGroup>
