Feature request: Multi-account / profile support

Resolved 💬 3 comments Opened Jan 24, 2026 by GauravJiandaniGJ Closed Jan 27, 2026

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

Switching between Claude accounts currently requires claude logout followed by claude login. This becomes friction in workflows where multiple accounts are involved.

Use Cases

  • Separate personal and work/organization accounts
  • Testing or development with different subscription tiers
  • Keeping project contexts isolated across different accounts
  • Consultants or contractors managing distinct project environments

Attempted Workaround

Tried swapping macOS Keychain credentials (Claude Code-credentials) programmatically via shell scripts before launching Claude Code. The keychain updates correctly, but Claude Code doesn't pick up the changed credentials — it continues using the previously authenticated session.

Proposed Solution

Named profile support, similar to AWS CLI or GitHub CLI:

claude --profile work
claude --profile personal

# Or
claude auth switch work
claude auth list

Alternatively, environment variable support:

CLAUDE_PROFILE=work claude

Environment

  • macOS
  • Claude Code v2.1.19
  • Installed via npm

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

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