按量付费,本服务使用官方 Max 200美元账户,支持Claude 4 0pus模型,极致的性价比
# Ubuntu / Debian 用户
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version
# 1. 在 PowerShell(管理员模式)中安装 WSL
wsl --install
# 2. 重启计算机后,在 WSL 中安装 Node.js
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install --lts
nvm alias default node
node --version
# macOS 用户 - 使用 Homebrew 安装
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node
node --version
npm install -g @anthropic-ai/claude-code
claude --version
https://klaude.vip
是本站的 API 服务地址,与主站地址相同
cd your-project-folder
export ANTHROPIC_AUTH_TOKEN=sk-...
export ANTHROPIC_BASE_URL=https://klaude.vip
claude
echo -e '\n export ANTHROPIC_AUTH_TOKEN=sk-...' >> ~/.bash_profile
echo -e '\n export ANTHROPIC_BASE_URL=https://klaude.vip' >> ~/.bash_profile
echo -e '\n export ANTHROPIC_AUTH_TOKEN=sk-...' >> ~/.bashrc
echo -e '\n export ANTHROPIC_BASE_URL=https://klaude.vip' >> ~/.bashrc
cd your-project-folder
claude
echo -e '\n export ANTHROPIC_MODEL=claude-3-5-sonnet-20241022' >> ~/.bash_profile
echo -e '\n export ANTHROPIC_MODEL=claude-3-5-sonnet-20241022' >> ~/.bashrc
# 查找或创建配置目录
mkdir -p ~/.config/claude-code
nano ~/.config/claude-code/settings.json
{
"env": {
"ANTHROPIC_MODEL": "claude-3-5-sonnet-20241022"
}
}
claude
,检查是否使用了指定的模型