SetupFebruary 15, 2026
Claude Code Setup: Windows, macOS & Linux
Complete step-by-step guide to set up Claude Code on any operating system with EcomAgent API.
Prerequisites
Windows Setup
1. Open PowerShell or Command Prompt
2. Navigate to your Claude Code config:
notepad %USERPROFILE%\.claude\settings.json3. Add your EcomAgent configuration:
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.ecomagent.in/",
"ANTHROPIC_AUTH_TOKEN": "YOUR_API_KEY"
}
}macOS Setup
1. Open Terminal
2. Edit the config file:
nano ~/.claude/settings.json3. Paste the same JSON configuration as above.
Linux Setup
Same as macOS — use your preferred text editor to edit ~/.claude/settings.json.
Verify It Works
Run a quick test:
claude "Say hello"If Claude responds, your setup is complete!