~/.claude/manager-accounts/
Switch Claude accounts without logging out
Save each Claude login once — work, personal, a team seat — and switch between them from the sidebar or the command palette. No browser round-trip each time.

Claude Code Manager: Switch Account
Switch Claude Code accounts in two clicks
- Save the account you're signed in to. In the Account tab, save the current login as a profile and give it a name, like Work.
- Sign in to the next one. Choose Log in as a new account: the extension starts
claudeand sends/login. Save that one too. - Switch whenever you like from the Account tab, or with Claude Code Manager: Switch Account in the command palette.
What a switch changes, and what it doesn't
- ~/.claude.json → oauthAccountThe account identityOnly the login identity is swapped. Projects, MCP servers, history and the rest of the file stay as they are.
- Keychain · .credentials.jsonThe Claude credentialOn macOS the Keychain entry; on Linux and Windows
~/.claude/.credentials.json. Other credentials beside it are left alone. - .oauth_refresh.lockSafely, while Claude runsThe switch takes the same lock Claude Code uses when it refreshes a token, and keeps a crash journal so an interrupted switch can be recovered.
- profilesEach account's last quotaThe switcher shows the weekly usage each account had when you last used it, so you can pick the one with room left.
Where your tokens are kept
A profile is a folder in ~/.claude/manager-accounts/ holding that login's identity and a copy of its tokens, in plaintext — the same way Claude Code itself stores its login in .credentials.json on Linux and Windows. It never leaves your machine, and the extension tells you this before you save the first profile. Delete a profile and its copy goes with it.
If you'd rather keep accounts fully separate — their own settings and history too — Anthropic documents running each with its own CLAUDE_CONFIG_DIR; the extension reads that variable as well.
FAQ
Questions, answered
How do I switch accounts in Claude Code?
Without an extension, run /logout then /login and sign in again in the browser. With Claude Code Manager, save each account as a profile once, then pick it from the Account tab or run Claude Code Manager: Switch Account from the command palette.
Where are saved profiles stored, and is that safe?
In ~/.claude/manager-accounts/<profile>/, on your machine only. Each profile holds a copy of that login's tokens in plaintext — the same format Claude Code uses in ~/.claude/.credentials.json on Linux and Windows — so treat the folder as sensitive. Deleting a profile deletes its copy immediately.
What exactly changes when I switch?
Only the login: the account identity in ~/.claude.json and the Claude credential entry (the macOS Keychain or .credentials.json). Your projects, MCP servers and settings stay as they are.
Is there an official way to use two accounts?
Yes: Anthropic's docs suggest giving each account its own configuration directory with CLAUDE_CONFIG_DIR. That keeps separate settings and history per account. Profiles are for switching one setup between logins.
Free, open source, and it stays on your machine.
Apache-2.0. No telemetry, no account, no network client. Works with the Claude Code CLI and the official extension.
code --install-extension vishalguptax.claude-manager