fishxcode-cli
v0.1.1
Published
AI coding tool manager — one-click integration with FishXCode API for claude-code, aider, codex, opencode and more
Downloads
176
Maintainers
Readme
FishXCode CLI
简体中文 · English · Français · Español · Português
AI 编码工具管理器 — 一键将 claude-code、aider、codex、opencode 等主流工具接入 FishXCode API。
📖 文档站 · 📦 npm 包 · 🚀 注册账号 · 🔑 获取 API Key
安装
npm i -g fishxcode-cli
# 或直接运行,无需全局安装
npx fishxcode-cli@latest setup快速开始
fishx login # 保存 FishXCode API Key
fishx setup # 自动配置所有 AI 工具
fishx doctor # 验证配置状态支持的工具
| 工具 | 配置文件 | 自动配置 |
| --- | --- | --- |
| Claude Code | ~/.claude/settings.json | ✅ |
| Codex CLI | ~/.codex/config.toml | ✅ |
| Aider | ~/.aider.conf.yml | ✅ |
| Continue.dev | ~/.continue/config.yaml | ✅ |
| OpenCode | ~/.config/opencode/opencode.json | ✅ |
| OpenClaw | ~/.openclaw/openclaw.json | ✅ |
命令一览
| 命令 | 说明 |
| --- | --- |
| fishx login | 保存 FishXCode API Key |
| fishx logout | 删除本地凭据 |
| fishx whoami | 查看当前 API Key(脱敏展示) |
| fishx setup | 配置所有 AI 工具 |
| fishx doctor | 检查环境与工具状态 |
| fishx tools | 列出所有支持工具 |
| fishx reset | 还原所有工具配置 |
| fishx balance | 查看账户余额 (即将开放) |
环境变量
export FISHXCODE_API_KEY=sk-xxx # 替代 fishx login 持久化配置