Configuration

Setting up Environment Parameters

If you're using MacOS or Linux

Add the code below into your ~/.zshrc or ~/.bashrc

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

Then run: source ~/.zshrc

Or run code below one by one

1
# if you're using bash terminal, replace the ~/.zshrc below to ~/.bashrc
2
echo 'export ANTHROPIC_BASE_URL="https://www.claudeide.net/api/anthropic"' >> ~/.zshrc
3
echo 'export ANTHROPIC_AUTH_TOKEN="test"' >> ~/.zshrc
4
echo 'export API_TIMEOUT_MS=600000' >> ~/.zshrc
5
echo 'export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1' >> ~/.zshrc
6
 
7
source ~/.zshrc 

If you're using Windows

You can refer to this page for how to set up environment variables: set (environment variable)

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-up Claude code

Enter your project path, and using claude-ide

1
cd your-project
2
claude

You will get:

You can also use plugin claude inside your vscode or other IDE. If you get asked for config like this:

That means your configuration is not set up correctly, pls check again.

Subscribe

After you get subscribed here: pricing

You can create your real api-key, and you can also set up quota and expire time for sharing it to your team mates.

Click the copy button

Replace the ANTHROPIC_AUTH_TOKEN key with the real value.

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