Installation
Install Claude Code Router globally using your preferred package manager.
Prerequisites
- Node.js: >= 18.0.0
- pnpm: >= 8.0.0 (if using pnpm)
- An API key from your preferred LLM provider
Install via npm
npm install -g @musistudio/claude-code-router
Install via pnpm
pnpm add -g @musistudio/claude-code-router
Install via Yarn
yarn global add @musistudio/claude-code-router
Verify Installation
After installation, verify that ccr is available:
ccr --version
You should see the version number displayed.
Next Steps
Once installed, proceed to Quick Start to configure and start using the router.