Claude Code · Tested with aisw v0.3.7 · Updated July 16, 2026
Use Separate Work and Personal Claude Code Accounts
Save your work and personal Claude Code accounts as two named aisw profiles — for example claude work and claude personal — then switch between them with aisw use claude <name>. Both stay saved locally; switching never requires re-authenticating.
If you use Claude Code for both a day job and personal projects, the accounts usually need to stay separate — different billing, different organization, sometimes different usage policy. Manually logging out and back in every time you switch context is slow and easy to get wrong. Naming both accounts as aisw profiles removes the friction.
Before you start
You’ll need Claude Code signed into at least one of the two accounts already, so aisw can capture it live instead of requiring a fresh OAuth flow.
CLI method
1. Capture the account you’re currently signed into.
aisw initaisw add claude work --from-live2. Add the second account.
aisw add claude personalThis launches Claude Code’s native OAuth flow for the second account. If you’d rather use an API key for one of them:
aisw add claude personal --api-key "$ANTHROPIC_API_KEY"3. Switch as you move between contexts.
aisw use claude work# ...lateraisw use claude personal4. Optional: keep local state separate too.
By default Claude Code keeps some local configuration alongside your credentials. If you want work and personal to have fully independent local state (not just different credentials), use isolated state mode:
aisw use claude work --state-mode isolatedShared mode (the default) only swaps credentials and leaves local configuration common between profiles — usually what you want unless the two accounts need genuinely different settings.
Desktop method (coming soon)
AI Switcher Desktop is currently in private testing and not yet available for public download. The steps below reflect the current build; use the CLI method above until it ships.
Screenshot placeholder
AI Switcher Desktop Profiles screen showing 'work' and 'personal' Claude Code profiles side by side, with labels and last-used timestamps
- Open Profiles and find the Claude Code section.
- Add both accounts — import the live one first, then add the second through Add Profile → Sign in.
- Rename each profile from the inspector so they’re clearly labeled (
work,personal). - Switch from Overview or Quick Switch (⌘K) whenever you change context.
Verify the result
aisw status --contextThis confirms which Claude Code profile is active right now, independent of what any other tool is doing.
Frequently asked questions
Do I need two Claude Code installs to keep work and personal separate?
No. One Claude Code install is enough — aisw swaps the credentials it uses, so a single installation can represent as many accounts as you have profiles.
What if my work and personal accounts use different plans?
That's fine. aisw stores whatever credentials each account actually has; it doesn't require matching plan types, and Claude Code behaves exactly as it would if you'd logged in with that account directly.