AiRouter Docs

VSCode Extension Setup

How to configure the Claude Code extension in VSCode

πŸš€ VSCode Extension Setup

Claude Code also provides a native VSCode extension for use directly in the editor.

  1. Open VSCode and go to the Extensions marketplace (Ctrl+Shift+X)
  2. Search for Claude Code, find the official extension published by Anthropic, and click Install
  3. After installation, a Claude Code icon will appear in the sidebar
  4. Click the icon to open the Claude Code panel β€” it will automatically read your configured environment variables

πŸ’‘ If you've already configured environment variables (ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY) in the terminal, the VSCode extension will automatically detect them with no additional configuration needed.

On this page