Claude Code CLI
RecommendedOfficial Anthropic terminal-based AI coding assistant
Install Claude Code
Install the CLI globally via npm:
npm install -g @anthropic-ai/claude-code
Run Setup & Start Coding
Run our one-liner — it will ask for your API key, configure everything automatically, and you're ready to go:
npx codemax-code
Alternative: PowerShell script
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser irm https://api.codemax.pro/setup.ps1 | iex
After setup completes, just run claude in any project directory to start coding.
Automatic Setup
RecommendedOne command to configure everything
Run one command and you're done. Requires Node.js.
npx codemax-code
Alternative: PowerShell script
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser irm https://api.codemax.pro/setup.ps1 | iex
Re-run anytime to update your key or reconfigure. The script safely merges settings without overwriting your existing config.
Manual Configuration
Step-by-step manual setup if you prefer full control
Install MCP Tools
npm install -g codemax-mcp-server
Configure Environment
Create or edit %USERPROFILE%\.claude\settings.json:
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "sk-cm-your-api-key",
"ANTHROPIC_BASE_URL": "https://api.codemax.pro",
"ANTHROPIC_MODEL": "claude-opus-4-6",
"ANTHROPIC_SMALL_FAST_MODEL": "claude-haiku-4-5-20251001",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-5-20250929",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-6",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
}
}Configure MCP Server
Create or edit %USERPROFILE%\.claude.json:
{
"hasCompletedOnboarding": true,
"mcpServers": {
"CodeMax": {
"command": "npx",
"args": ["-y", "codemax-mcp-server"],
"env": {
"CodeMax_API_KEY": "sk-cm-your-api-key",
"CodeMax_URL": "https://api.codemax.pro"
}
}
}
}Restart
Restart Claude Code or your IDE to apply settings.
Included MCP Tools
Extended capabilities added to your Claude Code session
web_searchSearch the web for real-time information — documentation, news, APIs, current events, pricing, and anything requiring up-to-date data.
query: stringnum_results?: numberunderstand_imageAnalyze images with AI vision — screenshots, diagrams, UI mockups, error messages, charts, and photos. Supports JPEG, PNG, WebP, GIF.
image_url: stringquestion?: stringAvailable Models
All Claude models available through the Codemax API
claude-opus-4-6Most capable model for complex tasks
claude-sonnet-4-6Best balance of speed and intelligence
claude-sonnet-4-5-20250929Previous generation balanced model
claude-haiku-4-5-20251001Fastest model for simple tasks
API Reference
Endpoint details for direct API integration
https://api.codemax.pro/v1/messages/v1/chat/completions/v1/models