这是本文档旧的修订版!
安装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
安装skills
https://github.com/anthropics/skills/tree/main/skills
npx skills-installer install @anthropics/claude-code/algorithmic-art --client claude-code /plugin install algorithmic-art@anthropic-agent-skills