====== 安装Node.js ======
确保 Node.js 版本 ≥ 18.0
# Ubuntu / Debian 用户
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo bash -
sudo apt-get install -y nodejs
node --version
# macOS 用户
sudo xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node
node --version
====== 安装 Claude Code ======
npm install -g @anthropic-ai/claude-code
claude --version
====== 新建环境变量 ======
ANTHROPIC_API_KEY = sk-...
ANTHROPIC_BASE_URL = https://anyrouter.top
====== 运行 ======
claude
anyrouter 账号可注册linuxdo也可*鱼
====== 对比 ======
实际使用的效果wrap>codex>claudecode>其他ide
可多个ai结合使用
提问句式:该文件在哪个位置+有什么需要修改的地方;一次只修改一点点,就这一点点都很考验ai的智商