> ## Documentation Index
> Fetch the complete documentation index at: https://docs.panguard.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 安裝

> 一行指令安裝。Dashboard 自動開啟。

## 30 秒搞定

<Tabs>
  <Tab title="macOS / Linux">
    ```bash theme={null}
    curl -fsSL https://get.panguard.ai | bash
    ```

    就這樣。Panguard 安裝完、連接你的 AI agent、Dashboard 自動開。
  </Tab>

  <Tab title="Windows">
    ```powershell theme={null}
    irm https://get.panguard.ai/windows | iex
    ```

    在 PowerShell 裡跑。Panguard 安裝完、連接你的 AI agent、Dashboard 自動開。
  </Tab>

  <Tab title="npm（全平台）">
    ```bash theme={null}
    npm install -g panguard && pga up
    ```

    需要 [Node.js 20+](https://nodejs.org/)。
  </Tab>
</Tabs>

安裝完，瀏覽器自動打開 `http://127.0.0.1:9100` Guard Dashboard。

***

## 剛剛發生了什麼？

安裝程式做了 3 件事：

1. **裝好 Panguard** — CLI + 768 條 ATR 偵測規則（OWASP Agentic Top 10: 10/10 覆蓋）
2. **連接你的 AI agent** — 自動偵測 Claude Code、Cursor、OpenClaw 和[其他 13 個平台](/guides/claw-setup)
3. **啟動 Guard** — 24/7 監控，Dashboard 在 `http://127.0.0.1:9100`

你已經受保護了。你的 AI agent 用的每個 MCP skill 都在即時監控中。

***

## 確認有在跑

```bash theme={null}
panguard --version
```

```
1.8.26
```

```bash theme={null}
panguard guard status
```

應該會看到 Guard 在 learning mode 執行中（第 1/7 天）。

***

## 下一步

<CardGroup cols={2}>
  <Card title="掃描你的 AI Skill" icon="magnifying-glass" href="/quickstart">
    審計所有已安裝的 MCP skill，偵測 prompt injection、憑證竊取等。
  </Card>

  <Card title="看懂安全評分" icon="chart-line" href="/concepts/security-score">
    你的 A-F 安全等級代表什麼，怎麼提升。
  </Card>

  <Card title="設定通知" icon="bell" href="/guides/notifications-setup">
    偵測到威脅時透過 Telegram、Slack、Email 收警報。
  </Card>

  <Card title="平台設定指南" icon="bolt" href="/guides/claw-setup">
    手動設定 OpenClaw、NemoClaw、ArkClaw 等平台。
  </Card>
</CardGroup>

***

## 系統需求

|             | 最低需求                                |
| ----------- | ----------------------------------- |
| **作業系統**    | macOS 12+、Ubuntu 20.04+、Windows 10+ |
| **Node.js** | 20+                                 |
| **磁碟空間**    | 200 MB                              |
| **記憶體**     | 512 MB（Guard 建議 1 GB）               |

<Accordion title="平台支援細節">
  | 功能                | macOS | Linux | Windows |
  | ----------------- | ----- | ----- | ------- |
  | **Skill Auditor** | 完整    | 完整    | 完整      |
  | **Scan**          | 完整    | 完整    | 部分      |
  | **Guard**         | 完整    | 完整    | 完整      |
  | **Threat Cloud**  | 完整    | 完整    | 完整      |

  Windows 支援所有核心功能。部分 OS 層級的網路監控不如 macOS/Linux。
</Accordion>

<Accordion title="從原始碼建置（contributor）">
  ```bash theme={null}
  git clone https://github.com/panguard-ai/panguard-ai.git
  cd panguard-ai
  pnpm install && pnpm build
  ./bin/panguard --help
  ```

  需要 [pnpm](https://pnpm.io/) 10+ 和 Node.js 20+。
</Accordion>

<Accordion title="解除安裝">
  <Tabs>
    <Tab title="npm">`bash npm uninstall -g panguard `</Tab>
    <Tab title="curl 安裝">`bash rm "$(which panguard)" `</Tab>
  </Tabs>
</Accordion>
