Skip to content

[FEATURE] Support for multiple accounts / profiles #24963

@AlbertoGarau

Description

@AlbertoGarau

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

I have a work account (managed by my company) and a personal account. Currently I need to run claude logout / claude login every time. I want to switch between them, which is tedious and time-consuming.

Proposed Solution

A flag like --profile or --user to switch between accounts:

claude --profile=work
claude --profile=personal

Each profile would store its own credentials separately, so login is only needed once per profile.

Alternative Solutions

Alternatively, supporting a CLAUDE_CONFIG_DIR environment variable to point to separate credential directories would also work.

Priority

Low - Nice to have

Feature Category

CLI commands and flags

Use Case Example

As a developer, I use Claude Code at work on company projects with a company-managed account, and at home for personal side projects with my own personal account — both on the same machine.
Currently my workflow is:

  1. claude logout
  2. claude login (with the other account)
  3. Work
  4. claude logout
  5. claude login (back to the first account)

Desired workflow:

  1. claude --profile=work (for work projects)
  2. claude --profile=personal (for personal projects)

No logout/login needed after initial setup.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions