@aizoo321/cli
v0.0.144
Published
Configure Claude Code, Codex, Grok Build and other coding tools for Zoo AI with one command
Maintainers
Readme
Zoo AI CLI(@aizoo321/cli)
一条命令,在 Claude Code / Claude Desktop / Codex / Grok Build / Antigravity CLI 之间统一配置 Zoo AI 的 API Key 与模型。
命令名:zoo-ai。每个命令的用法、示例和适用场景:zoo-ai <命令> --help。
一键安装
电脑上什么都没装也可以:命令会装好 Node.js、Git 和 zoo-ai,再按提示粘贴 API Key,配好各个编码工具。
macOS / Linux:
curl -fsSL https://ai.zoo321.com/install | shWindows(PowerShell):
irm https://ai.zoo321.com/install | iex已有 Node.js(>= 20)
npm install -g @aizoo321/clinpx @aizoo321/cli@latest快速开始
API Key 在 https://ai.zoo321.com/console/token 创建。下面三种方式任选一种:
zoo-ai setup --key sk-xxxzoo-ai initzoo-ai auth sk-xxx --non-interactive--key 按令牌能访问的模型自动配置:有 Claude 模型配 Claude Code(装了 Claude Desktop 也一并配好)、有 GPT 模型配 Codex、有 Grok 模型配 Grok Build、有 Gemini 模型配 Antigravity CLI。配完直接运行 claude / codex / grok(agy 要新开一个终端)。
常用命令
| 命令 | 作用 |
| ------------------------------- | -------------------------------------------- |
| zoo-ai status | 查看当前配置 |
| zoo-ai doctor | 健康巡检 |
| zoo-ai config <tool> | 配置某个工具(选模型、应用、移除、还原) |
| zoo-ai config <tool> restore | 把该工具还原到上次更改前 |
| zoo-ai upgrade | 升级 Claude Code / Codex / agy |
| zoo-ai base | 查看并测试所有接入地址 |
| zoo-ai base auto | 换到第一个能用的接入地址,已配置的工具一起换 |
数据与安全
- API Key 保存在权限为
0600的~/.zoo-ai/config.yaml。 - 改写工具配置前自动备份,只改本工具的服务商字段,其它设置原样保留。
ZOO_AI_DISABLE_AUTO_UPDATE=1关闭启动时的自动更新检查。
官网:https://ai.zoo321.com
