Agentsflare Claude Code Configuration Guide
Claude code Claudecode is a very popular coding agent.
Installing and Configuring Claudecode
Installing Claudecode
macOS, Linux, WSL:
curl -fsSL https://claude.ai/install.sh | bashWindows PowerShell:
irm https://claude.ai/install.ps1 | iexWindows CMD:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmdFor other installation methods, refer to the official documentation Claudecode Installation Documentation
Configuring Claudecode
After logging in, modify the ~/.claude/setting.json file and add the following content:
json
{
"env": {
"ANTHROPIC_API_KEY": "Your api key",
"ANTHROPIC_BASE_URL": "https://api.agentsflare.com/anthropic"
},
"model": "claude-opus-4-6"
}Restart Claudecode for the configuration to take effect
If you want to use more models, such as claude-opus-4-5-20251101, you can specify the model through startup parameters:
bash
claude --model claude-opus-4-5-20251101