claudecode

安装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_AUTH_TOKEN = sk-... 
 
ANTHROPIC_BASE_URL = https://anyrouter.top

运行

claude

anyrouter 账号可注册linuxdo也可*鱼

对比

实际使用的效果wrap>codex>claudecode>其他ide

可多个ai结合使用

提问句式:该文件在哪个位置+有什么需要修改的地方;一次只修改一点点,就这一点点都很考验ai的智商

请输入您的评论. 可以使用维基语法:
 

该主题尚不存在

您访问的页面并不存在。如果允许,您可以使用创建该页面按钮来创建它。

  • claudecode.txt
  • 最后更改: 2025/12/06 15:15
  • 张叶安