Thanks for the helpful article. Please consider adding this to Step 4, or the Troubleshooting section:
Known issue for fresh install, claude doesn’t honor ~/.claude/settings.json:
https://github.com/anthropics/claude-code/issues/13827
Workarounds:
Temporarily set the environment variables in your shell before running claude:
export ANTHROPIC_BASE_URL="https://your-litellm-endpoint"export ANTHROPIC_AUTH_TOKEN="your-token"claudeManually edit
~/.claude.jsonafter the first run, and set"hasCompletedOnboarding": trueto bypass the login prompt.