Skip to content

[FEATURE] quick account switching between multiple Claude accounts #35856

Description

@serge-dasilva

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Many developers working as freelancers or contractors maintain two separate Claude accounts: a personal subscription (Pro/Max) for their own projects, and a Team/Enterprise account provided
by their client organization.

Currently, switching between accounts requires running /logout and re-authenticating each time, which is cumbersome and breaks the workflow when context-switching between personal and
professional work throughout the day.

Proposed Solution

A named account profile system, similar to what AWS CLI (aws configure --profile) or GitHub CLI (gh auth switch) offer:

  • claude auth add — save a second account under a named profile
  • claude auth switch — instantly switch the active account
  • claude auth list — list all saved profiles and highlight the active one

This would store multiple credential sets locally (as already done in ~/.claude/.credentials.json) and simply switch the active one, with no re-authentication required.

Alternative Solutions

No response

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

Impact:

This affects a large segment of Claude Code's power users — freelance developers, contractors, and consultants who regularly work across multiple organizational contexts in a single day.

  1. 9:00 AM — Personal work: Serge opens his terminal to work on a side project. He runs claude auth switch personal and Claude Code is now authenticated with his personal Pro account. He
    gets assistance on his own codebase.
  2. 10:30 AM — Client work begins: Serge switches to a mission for his client Acme Corp, who provides a Team account. He runs claude auth switch acme-corp — no browser, no login prompt,
    instant switch. Claude Code is now authenticated under the Acme Corp Team account, with the correct billing and permissions.
  3. 12:00 PM — Back to personal: During lunch break, Serge resumes his side project. One command: claude auth switch personal. Done.
  4. 3:00 PM — Second client: Serge has a second client, Beta Inc., also with a Team account. He runs claude auth switch beta-inc and seamlessly continues work under that organization's
    account.

▎ Without this feature, each of these switches requires /logout + browser authentication + waiting — at least 2 minutes lost each time, and up to 8+ interruptions per day.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authduplicateThis issue or pull request already existsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions