Install
openclaw skills install claude-installerAutomate installation of Claude Code CLI and guide user to configure API via cc-switch. Handles environment setup, mirrors, and post-install prompts.
openclaw skills install claude-installerThis skill guides users through installing Claude Code CLI (by Anthropic) and setting up their own API configuration using cc-switch. The skill itself does not configure any API keys; it only prepares the environment and instructs the user to download and run cc-switch.
The skill automatically checks for required tools: Node.js, npm, and Git. If any are missing, they will be installed using Tsinghua mirror sources by default.
node -vnpm -vnpm config set registry https://registry.npmmirror.com/git -vnpm install -g @anthropic-ai/claude-codeclaude --versionclaudeAfter installation, you will be prompted to:
.claude.json and set "hasCompletedOnboarding": true (add comma before if needed)/model command, e.g., /model deepseek-v4-pro[1m]/model command within Claude Code.