Actually, CLAUDE_CODE_OAUTH_TOKEN works for interactive mode; you just need to enable hasCompletedOnboarding: true in ~/.claude.json to skip onboarding process. I use this in devcontainer and it works.

And I believe setting ANTHROPIC_AUTH_TOKEN will do the same thing to set hasCompletedOnboarding to true. That's why it works when unset ANTHROPIC_AUTH_TOKEN. #claude
 
 
Back to Top