Browse documentation

Configuration

Configure required environment variables

Claude IDE needs four environment variables before the CLI or VS Code extension can talk to the proxy. Set them once, then restart your shell or editor so every new session picks them up.

macOS or Linux

Add the exports below to your shell profile (~/.zshrc for zsh, ~/.bashrc for bash):

1
export ANTHROPIC_BASE_URL="https://www.claudeide.net/api/anthropic"
2
export ANTHROPIC_AUTH_TOKEN="test" # replace with your real API key after subscribing
3
export API_TIMEOUT_MS=600000
4
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1

After saving the file, reload it with source ~/.zshrc.

Prefer to append commands manually? Run them one at a time (swap the path if you use bash):

1
echo 'export ANTHROPIC_BASE_URL="https://www.claudeide.net/api/anthropic"' >> ~/.zshrc
2
echo 'export ANTHROPIC_AUTH_TOKEN="test"' >> ~/.zshrc
3
echo 'export API_TIMEOUT_MS=600000' >> ~/.zshrc
4
echo 'export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1' >> ~/.zshrc
5
 
6
source ~/.zshrc

Windows

You can define the same variables through whichever flow you prefer:

Option 1 · GUI (recommended for permanent setup)

  1. Press Win + R, type sysdm.cpl, press Enter.
  2. Open the Advanced tab → Environment Variables…
  3. Under User variables click New… and add each pair:
    • ANTHROPIC_BASE_URLhttps://www.claudeide.net/api/anthropic
    • ANTHROPIC_AUTH_TOKENtest
    • API_TIMEOUT_MS600000
    • CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC1
  4. Close the dialogs and restart your terminal or IDE.

Option 2 · Command Prompt (persists)

1
setx ANTHROPIC_BASE_URL "https://www.claudeide.net/api/anthropic"
2
setx ANTHROPIC_AUTH_TOKEN "test"
3
setx API_TIMEOUT_MS "600000"
4
setx CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC "1"

Option 3 · PowerShell (persists)

1
[System.Environment]::SetEnvironmentVariable('ANTHROPIC_BASE_URL', 'https://www.claudeide.net/api/anthropic', 'User')
2
[System.Environment]::SetEnvironmentVariable('ANTHROPIC_AUTH_TOKEN', 'test', 'User')
3
[System.Environment]::SetEnvironmentVariable('API_TIMEOUT_MS', '600000', 'User')
4
[System.Environment]::SetEnvironmentVariable('CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC', '1', 'User')

Option 4 · Command Prompt (temporary—current window only)

1
set ANTHROPIC_BASE_URL=https://www.claudeide.net/api/anthropic
2
set ANTHROPIC_AUTH_TOKEN=test
3
set API_TIMEOUT_MS=600000
4
set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1

Start the Claude coding environment

Run the CLI inside any project you want Claude to work on:

1
cd your-project
2
claude

You should see a confirmation screen similar to:

Prefer the VS Code (or other IDE) extension? Install the Claude extension and open the command palette. If the extension prompts for configuration like this:

your environment variables were not detected.

Double‑check the shell setup, or hard-code the configuration for the extension:

  • Claude settings file

    • macOS/Linux: ~/.claude/settings.json
    • Windows: C:/Users/<UserName>/.claude/settings.json

    Update it to include:

    1
    {
    2
      "env": {
    3
        "ANTHROPIC_AUTH_TOKEN": "test",
    4
        "ANTHROPIC_BASE_URL": "https://www.claudeide.net/api/anthropic",
    5
        "API_TIMEOUT_MS": "600000",
    6
        "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
    7
      }
    8
    }
  • VS Code workspace/user settings – add the snippet below to settings.json:

    1
    "claudeCode.environmentVariables": [
    2
      { "name": "ANTHROPIC_BASE_URL", "value": "https://www.claudeide.net/api/anthropic" },
    3
      { "name": "ANTHROPIC_AUTH_TOKEN", "value": "test" }
    4
    ],

After editing either file, restart VS Code (or reload the window) so it picks up the new values.

Subscribe and replace the placeholder key

When you subscribe on the pricing page you can mint a personal API key, limit its quota, and set an expiration before sharing it with teammates.

Use the copy button:

Then overwrite the placeholder token you set earlier:

1
export ANTHROPIC_AUTH_TOKEN="sk-proj-xxxx"
2
 
3
# or persist it
4
echo 'export ANTHROPIC_AUTH_TOKEN="sk-proj-xxxx"' >> ~/.zshrc
5
source ~/.zshrc
Configuration - Claude ide Documentation | Claude ide | Affordable AI Coding in Your IDE