Getting Started
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 subscribed3 export API_TIMEOUT_MS=6000004 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 ~/.bashrc2 echo 'export ANTHROPIC_BASE_URL="https://www.claudeide.net/api/anthropic"' >> ~/.zshrc3 echo 'export ANTHROPIC_AUTH_TOKEN="test"' >> ~/.zshrc4 echo 'export API_TIMEOUT_MS=600000' >> ~/.zshrc5 echo 'export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1' >> ~/.zshrc6 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/anthropic2 set ANTHROPIC_AUTH_TOKEN=test3 set API_TIMEOUT_MS=6000004 set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
Start-up Claude code
Enter your project path, and using claude-ide
1 cd your-project2 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 # or4 5 echo 'export ANTHROPIC_AUTH_TOKEN="sk-proj-xxxx"' >> ~/.zshrc6 source ~/.zshrc