Skip to content

环境准备 ​

接入 Claude Code 或 Codex CLI 前,先确认账号、Git 和 Node.js。OpenAI 兼容客户端(Cursor、Cline、Chatbox、Cherry Studio 等)不需要这些,直接看 OpenAI 兼容接入。

E-FlowCode 账号与 API Key ​

能正常登录 e-flowcode.cc,并且已经在控制台创建、保存了 API Key。

API Key 当密码看待

不要提交到仓库,不要发到聊天记录、工单截图或公开文档里。

Git ​

Claude Code 和 Codex CLI 都依赖 Git。

  • Windows:下载 Git for Windows
  • macOS:xcode-select --install
  • Ubuntu / Debian:sudo apt install git

验证:

bash
git --version

Node.js 18+(仅 Codex CLI) ​

配 Codex CLI 需要 Node.js 18 或更高版本,建议直接装 LTS,下载见 Node.js 官网。只用 Claude Code 可以跳过,Claude Code 已经不走 npm 安装。

验证:

bash
node -v
npm -v

node -v 低于 18 就先升级,再装 Codex CLI。

检查都通过后,去配 Claude Code 或 Codex CLI,也可以用 CC Switch 统一配置。

基于 VitePress 构建