check with Claude code if the links aren't working
linux,wsl,macos
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.cmd# Open your shell profile in nano
# nano ~/.zshrc # for zsh
nano ~/.bashrc # for Bash users
# Add these lines to the file: for bash users
# OpenRouter Configuration
export OPENROUTER_API_KEY="<your-openrouter-api-key>"
export ANTHROPIC_BASE_URL="https://openrouter.ai/api"
export ANTHROPIC_AUTH_TOKEN="$OPENROUTER_API_KEY"
export ANTHROPIC_API_KEY="" # Important: Must be explicitly empty
export ANTHROPIC_MODEL = "openrouter/free" # to use openrouter's free models only.
# After saving, restart your terminal for changes to take effectnotepad $PROFILE # for windows users
# Add these lines to the file: for powershell users
# OpenRouter Configuration
$env:OPENROUTER_API_KEY = "<your-openrouter-api-key>"
$env:ANTHROPIC_BASE_URL = "https://openrouter.ai/api"
$env:ANTHROPIC_AUTH_TOKEN = $env:OPENROUTER_API_KEY
$env:ANTHROPIC_API_KEY = "" # Explicitly empty
# After saving, restart your terminal for changes to take effectTest with /status within Claude