How to use two Claude Code accounts on one PC
Run Claude Code with a work and a personal account side by side on Windows, without logging out and in, and move a conversation between them.
Updated November 4, 2026 5 min read
Claude Code keeps its login and settings in one folder (.claude in your home folder). Log in with a second account and it replaces the first. The fix is to give each account its own folder.
Give each account its own config folder
Claude Code reads the CLAUDE_CONFIG_DIR environment variable. Point it at a different folder per account, and each folder keeps its own login:
PowerShell: the work account
$env:CLAUDE_CONFIG_DIR = "$HOME\.claude-work" claude
PowerShell: the personal account (in another window)
$env:CLAUDE_CONFIG_DIR = "$HOME\.claude-personal" claude
The first time in each folder, sign in with /login. After that, each window stays on its own account. You can wrap each pair of lines in a small script so you don't have to type them.
The same trick works for Codex with CODEX_HOME instead of CLAUDE_CONFIG_DIR.
Moving a conversation between accounts
Conversations live inside each config folder, so the second account can't --continue the first one's session. To carry on with the other account, ask the first one to summarise the task (goal, what's done, what's next) into a file, then start the second with that file.
Which account has quota left?
Each account has its own usage windows. Without a tool, the only way to know is to check each plan's usage page, or run into the limit.
What Arcvelt does about it
- Each Claude Code and Codex account signs in through the CLI's own browser sign-in, in a profile folder of its own. Arcvelt never copies or stores the login.
- Every session picks its account, and a dashboard shows each account's 5-hour and weekly usage with exact reset times.
- When an account hits its limit, Arcvelt can move the session to the account with the most quota left, conversation included.
The same agent login on two of your computers counts as one account.
Questions
Is it allowed to use two Claude accounts?
Using accounts you each pay for (for example a work and a personal one) is common. Check Anthropic's terms for your plans; Arcvelt only runs the official CLI with the logins you give it.
Does CLAUDE_CONFIG_DIR work on Windows?
Yes. Set it in PowerShell with $env:CLAUDE_CONFIG_DIR before running claude, or as a user environment variable.
How many accounts does Arcvelt support?
Free runs 2 AI agent accounts; Pro has no limit.
Arcvelt
Every account, one window
Sign in to each account once; Arcvelt shows live limits for all of them and switches when one runs out.
Free for 2 agent accounts · no card · no admin rights