Problem
Claude Code currently requires /logout + /login (browser-based, interactive) to switch between accounts. Users with both personal and work Max/Pro subscriptions need to go through this flow every time they want to switch — there's no way to automate or speed it up.
Suggested Solution
Some form of multi-account/profile support, e.g.:
claude /accounts — list saved accounts and switch between them
claude --profile work — launch with a specific profile
- Per-directory account binding (e.g., via
.claude/config or similar)
Context
- API key auth (
ANTHROPIC_API_KEY) works for API-billed accounts but not for Max/Pro subscriptions
- The browser-based OAuth login flow can't be scripted or automated
- This is a common need for developers who use Claude Code for both personal and work projects
Problem
Claude Code currently requires
/logout+/login(browser-based, interactive) to switch between accounts. Users with both personal and work Max/Pro subscriptions need to go through this flow every time they want to switch — there's no way to automate or speed it up.Suggested Solution
Some form of multi-account/profile support, e.g.:
claude /accounts— list saved accounts and switch between themclaude --profile work— launch with a specific profile.claude/configor similar)Context
ANTHROPIC_API_KEY) works for API-billed accounts but not for Max/Pro subscriptions