Preflight Checklist
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:
- claude logout
- claude login (with the other account)
- Work
- claude logout
- claude login (back to the first account)
Desired workflow:
- claude --profile=work (for work projects)
- claude --profile=personal (for personal projects)
No logout/login needed after initial setup.
Additional Context
No response
Preflight Checklist
Problem Statement
I have a work account (managed by my company) and a personal account. Currently I need to run
claude logout/claude loginevery time. I want to switch between them, which is tedious and time-consuming.Proposed Solution
A flag like
--profileor--userto 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_DIRenvironment 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:
Desired workflow:
No logout/login needed after initial setup.
Additional Context
No response