Claude Code Setup
Install CLI
bash
npm i -g @anthropic-ai/claude-code@latestConfigure
Windows - Press Win + R, enter %userprofile%\.claude
macOS - Finder Cmd + Shift + G, enter ~/.claude
Edit or create settings.json:
json
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.hoxkai.top",
"ANTHROPIC_AUTH_TOKEN": "your-token"
}
}Verify
bash
claudeCan chat = success.
VS Code Extension
Create config.json in config directory:
json
{
"primaryApiKey": "hoxkai"
}Restart VS Code.
Commands
| Command | Description |
|---|---|
claude | Start chat |
claude "question" | Start with question |
claude -p "question" | One-shot Q&A |
claude -c | Continue last session |
claude update | Update CLI |