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.
- Open VSCode and go to the Extensions marketplace (
Ctrl+Shift+X) - Search for Claude Code, find the official extension published by Anthropic, and click Install
- After installation, a Claude Code icon will appear in the sidebar
- 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.