Step 1: Install Claude Code Plugin
- Open VS Code, go to Extensions panel (Ctrl+Shift+X)
- Search for “Claude Code for VS Code” by Anthropic
- Click Install

Step 2: Configure settings.json
Open Configuration
- Click Settings icon (Ctrl+,), search “@ext:Anthropic.claude-code”
- Find “Claude-code: Environment Variables”, click “Edit in settings.json”

Add Configuration
Configuration Options
| Option | Description |
|---|---|
claudeCode.preferredLocation | panel (bottom) or sidebar |
claudeCode.selectedModel | Default model |
ANTHROPIC_BASE_URL | Mixroute Api URL |
ANTHROPIC_AUTH_TOKEN | Your API key |
Verify Configuration
- Restart VS Code
- Open Command Palette (Ctrl+Shift+P), type “Claude”
- Select “Claude Code: Open Panel”
- Test with a question