How to use multiple Claude accounts in Claude Code
Claude Code can stay signed in to several accounts if each one has its own configuration folder (CLAUDE_CONFIG_DIR). claude-nonstop sets those folders up, shares one history, settings and plugins between them, and picks the first account with usage left for every session.
The manual way
Anthropic documents running Claude Code with a different CLAUDE_CONFIG_DIR per account. Each folder keeps its own sign-in, so you can start Claude Code with one or the other:
CLAUDE_CONFIG_DIR=~/.claude-work claudeThe catch: each folder also has its own history, settings and plugins, and you have to notice the limit and switch yourself.
With claude-nonstop
- Install claude-nonstop.
# macOS and Linux curl -fsSL https://raw.githubusercontent.com/umer-jahangier/claude-nonstop/main/install.sh | sh # Windows (PowerShell) irm https://raw.githubusercontent.com/umer-jahangier/claude-nonstop/main/install.ps1 | iex - On its web page, click Add Account…, give the account a name and sign in on Anthropic's page. Repeat for each subscription.
- Drag the accounts into the order you want. Each line shows its session and weekly usage, and when each resets.
- Run
claude. The session starts on the first account with usage left.
Every account shares your history, settings, plugins, skills and MCP servers, so claude -c and claude --resume work across all of them. claude-nonstop never sees or stores the subscription credentials: each sign-in stays in Claude Code's own credential store.
Rules to follow
Every account must be your own. Sharing one subscription between several people is against Anthropic's terms. Each teammate installs claude-nonstop and adds their own accounts.
Questions
Is it allowed to have more than one Claude subscription?
You can hold more than one subscription, for example a personal and a work plan. What Anthropic's terms forbid is sharing one account between people.
Do all accounts share the same chat history?
With claude-nonstop, yes: the accounts share one Claude Code history, settings and plugins, so a conversation started on one account can be resumed on another.
By Muhammad Umer (Umer Jahangier), author of claude-nonstop · Updated