Support multiple account switching for Max/Pro subscriptions

Resolved 💬 2 comments Opened Apr 2, 2026 by emanuel-syllabus Closed Apr 2, 2026

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

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗