Claude Code Configuration
Ensure you have Claude Code installed.
Open the ~/.claude directory, where ~ is your home directory.
Edit settings.json (create it if it doesn't exist) and add the following:
json
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.nitrorouter.com",
"ANTHROPIC_AUTH_TOKEN": "xxx",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
}
}Replace xxx with the API Key you created in the console.
After saving, run claude in your terminal and try chatting to verify if the configuration is successful.