Several Claude Code accounts. One terminal.
Add each account once. Switch with ccam work or a shortcut such as ccwork. When one account hits its limit, continue the same conversation on the next one.
curl -fsSL https://ccam.dev/install.sh | shOn Windows, in PowerShell
irm https://ccam.dev/install.ps1 | iexThen add your first account with ccam add.Get started
$ccside
Claude Code side
> refactor the parser and add tests
5-hour limit reached · resets in 22m
$ccam usage
Most headroom: work
$ccam next --auto --continue
Claude Code work
> refactor the parser and add tests
[work] · Opus · 5h 8% · 7d 19%
When an account hits its limit
Start Claude Code as one of your accounts with its shortcut.
ccsideThat account reaches its 5-hour limit, and Claude Code stops.
See the 5-hour and weekly usage of every account at once.
ccam usageOpen the account with the most room and pick up the same conversation.
ccam next --auto --continue
How it works
ccam add workCreates a separate config folder for the account and opens the Claude login in your browser. It can also give the account a shortcut of your choice, such as ccwork.
ccam workccwork --resumeStarts Claude Code as that account. Everything after the name goes to Claude Code unchanged, and starting through ccam takes about 4 milliseconds longer than running claude directly.
ccam group set default --add historyChooses what the accounts in a group share with each other. MCP servers, settings, CLAUDE.md and extensions are shared from the start; logins never are.
ccam usageShows the 5-hour and weekly usage of every account at once, so you know which one has room left.
ccam next --continueOpens the same conversation in the next account when the current one reaches its limit.
ccam doctor --fixChecks links, permissions and logins, and repairs what it safely can. Files it moves out of the way are kept in a backup.
Guides
- Use multiple Claude Code accounts on one computerRun several Claude Code accounts side by side with CLAUDE_CONFIG_DIR, by hand with shell aliases or automatically with ccam, and switch between them.
- What to do when Claude Code hits its usage limitWait for the reset or continue the same conversation on another Claude Code account right away. How the 5-hour and weekly limits work, step by step.
- Using Remote Control with ccamStart Claude Code Remote Control as any account with ccam <name> rc, see which options apply, why ccam offers to copy shared MCP servers, and fix problems.
- CLAUDE_CONFIG_DIR explainedWhat CLAUDE_CONFIG_DIR does in Claude Code, what is stored in the folder, where macOS keeps the login, and which files can be shared between accounts.
In short
ccam is a free, open-source command-line tool that lets you use several Claude Code accounts on one computer and switch between them with one command.
Each account keeps its own login in a separate CLAUDE_CONFIG_DIR. MCP servers, settings, CLAUDE.md, extensions and conversation history can be shared between accounts, so you can continue a conversation on another account when one reaches its usage limit.
Install it on Linux, macOS or Windows with one command, then run ccam add for each account.
ccam is an unofficial project and is not affiliated with or endorsed by Anthropic.