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, carry on in the next with the same conversation.
Install on Linux or macOS
curl -fsSL https://ccam.dev/install.sh | shThen add your first account with ccam add.Read the quick start
$ccside
Claude Code side
> refactor the parser and add tests
5-hour limit reached · resets in 22m
$ccam usage
Most room left: 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, opens the Claude login in your browser and, if you want one, gives the account a shortcut you name yourself, such as ccwork.
ccam workccwork --resumeStarts Claude Code as that account. Everything after the name goes to Claude Code unchanged, and ccam adds about 4 milliseconds before it starts.
ccam share work --history onChooses what the account shares with your other accounts. 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. Every change to your files keeps a backup.
Guides
- How to use two 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.
- 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.
- What to do when Claude Code reaches its usage limitCheck how much room each Claude Code account has left and continue the same conversation on another account when one reaches its limit.
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, while 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 or macOS with one command, then run ccam add for each account.
ccam is an unofficial project and is not affiliated with or endorsed by Anthropic.