GUIDE · LAST VERIFIED 2026-08-11

安装 PhanthyCode CLI

选择官方脚本或 npm 安装方式。

安装命令

macOS / Linux
curl -fsSL https://code.phanthy.com/install.sh | bash
Windows PowerShell
irm https://code.phanthy.com/install.ps1 | iex
npm
npm install -g @phanthy/phanthy-code

验证安装

查看版本
phanthy-code --version
PhanthyCode - AI Agent workspace