Quick Install
The installer supports both Chinese and English. You’ll be prompted to choose a language at startup. You can also set
INSTALLER_LANG=en or INSTALLER_LANG=zh to skip the prompt.Prerequisites
| Item | Description |
|---|---|
| Crazyrouter API Key | Sign up at crazyrouter.com, then go to Token Management to create one |
| Telegram Bot Token (optional) | Create a bot via @BotFather on Telegram |
Installation Process
The script automatically handles these 10 steps:Detect System Environment
Identifies Linux/macOS, x64/arm64, and selects the appropriate installation method
Configure API Key
Interactive prompt for your Crazyrouter API Key (or reads from environment variable)
Pre-configured Models
| Provider | Models |
|---|---|
| Claude | Opus 4.6, Sonnet 4.6 |
| GPT | 5.2, 5.3 Codex, 5 Mini, 4.1, 4.1 Mini, 4o Mini |
| Gemini | 3.1 Pro, 3 Flash |
| DeepSeek | R1, V3.2 |
| Others | Kimi K2.5, GLM-5, Grok 4.1, MiniMax M2.1 |
Environment Variables
Use environment variables for non-interactive installation:| Variable | Description | Default |
|---|---|---|
CRAZYROUTER_API_KEY | Pre-set API key, skips interactive prompt | — |
GATEWAY_PORT | Gateway port | 18789 |
INSTALLER_LANG | Installer language (zh/en) | Interactive |
Post-Install Management
- Linux (systemd)
- macOS (launchd)
Supported IM Platforms
Telegram
Interactive setup during install with auto owner pairing
Discord
Connect via OpenClaw plugin
DingTalk
Plugin auto-configured during install
WeCom
Plugin auto-configured during install
QQ Bot
Plugin auto-configured during install
Slack / Lark
Connect via OpenClaw plugin
System Requirements
- Linux (x64/arm64) or macOS (x64/arm64)
- 1-2 GB RAM
- Internet access
- Crazyrouter API Key
GitHub Repository
View source code, submit issues, or contribute