claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[FEATURE] Native support for multiple accounts

Open danielrosehill opened this issue 1 month ago • 1 comments

Preflight Checklist

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

Problem Statement

I use Claude Code both for personal projects and for a client.

I maintain two paid accounts:

  • My own (Claude Max 200)
  • The client's

Sometimes I work for several hours on the client's site and manually change between subscriptions. To avoid cutting into my own weekly allowance, I manually change accounts before and after the process.

But currently the process for doing this is cumbersome:

I need to log out, log in, reauthorize with the new browser credential and then repeat the process when switching back.

Proposed Solution

Before talking about better "quality of life" solutions I think the core realisation has to be that there are legitimate reasons why users might hold multiple subs. At one time, I had three (personal, consultancy, client A).

Users who do pay concurrent subs should not have to jump through hoops or add on third-party tooling just to achieve a basic account switching functionality.

It would be much more pragmatic for the CLI to be able to hold a couple of authentications in memory such that every account change did not require a new authentication flow (and the issuance of a new API key).

To support the needs of multi-account users, it would be also very helpful to have account labeling. I could label my auth tokens Personal and ACME, for example.

Generally, I'm working in one specific repository for the client. So being able to define an account param that's repo-bound would also be a very elegant fix.

Alternative Solutions

No response

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

No response

Additional Context

No response

danielrosehill avatar Dec 01 '25 16:12 danielrosehill

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/261
  2. https://github.com/anthropics/claude-code/issues/1993
  3. https://github.com/anthropics/claude-code/issues/3835

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 01 '25 16:12 github-actions[bot]

This issue has been automatically closed as a duplicate of #261.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 05 '25 09:12 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Dec 13 '25 14:12 github-actions[bot]