How to use multiple Claude Code accounts on one Mac
Short answer
Give each account its own configuration directory. Claude Code reads the CLAUDE_CONFIG_DIR environment variable, so an alias like alias claude-work='CLAUDE_CONFIG_DIR=~/.claude-work claude' keeps a second login next to your usual ~/.claude, each with its own settings, history and credentials. Check your plan's terms before you use more than one account.
Why people keep two accounts
The usual reasons are a work account next to a personal one, or a second subscription so a long week doesn’t stop at the 7-day limit. Either way you want both logged in at once, without /logout and /login every time you switch.
The built-in way: one config directory per account
Claude Code keeps settings, session history, plugins and your login in its configuration directory, ~/.claude by default. The CLAUDE_CONFIG_DIR variable points it somewhere else, and Claude Code’s authentication docs recommend exactly this for multiple accounts.
Add an alias to ~/.zshrc:
alias claude-work='CLAUDE_CONFIG_DIR=~/.claude-work claude'
Open a new terminal, run claude-work and log in with the second account. From then on, claude uses your personal account and claude-work your work one, side by side.
On macOS, Claude Code keeps the login in the Keychain and keys that entry to the configuration directory, so each directory reads its own credentials.
What doesn’t come along
Everything under the directory belongs to that account. A fresh ~/.claude-work has none of your:
CLAUDE.mdinstructionssettings.json, permissions and hooks- skills, agents, commands and plugins
Copy them over, or symlink the ones you want shared. Never copy credential files between directories: log in to each one through Claude Code.
Where it gets awkward
- You have to remember which alias goes with which project.
- Nothing shows you how much of each account’s 5-hour and 7-day limits is left until you hit one.
- When an account runs out mid-task, the conversation lives in that account’s directory, so carrying on elsewhere means starting over.
With Tendeck: accounts on the board
Tendeck builds on the same mechanism and handles the bookkeeping:
- Press + next to Accounts in the sidebar and name the account.
- Press Sign in. A terminal opens with
claude auth login, the official flow. Finish signing in there.
What you get:
- Your first account uses your normal
~/.claude. The others keep their login in their own folder and share yourCLAUDE.md,settings.json, skills, agents, commands and plugins through links. Credentials are never shared. - Every account’s meters side by side: the 5-hour and 7-day windows, and the weekly limit per model if your plan has one, even with no agents open.
- Move an agent to another account and the conversation carries on. You decide when; Tendeck never switches accounts by itself.
- Codex accounts too, each signed in with
codex login.
One limit to know: Claude Code reports usage only on subscription plans, after the first response, so a new account shows no data until then.
Running agents across accounts
With accounts side by side you can spread parallel agents across them, so a heavy day doesn’t end at one account’s limit. The guide on running multiple Claude Code agents in parallel covers keeping those agents out of each other’s files.
Questions people ask
Is it allowed to use two Claude accounts?
That depends on your plans and their terms, not on the tool. Read the terms of each plan before you rely on more than one account, especially if someone else pays for one of them. Tendeck doesn't decide that for you and never switches accounts by itself.
Do two accounts share usage limits?
No. Each account has its own limits, because each is its own subscription. That's why a second account helps when one runs out, and why it's worth seeing both meters at once.
Will my CLAUDE.md and skills work in the second account?
Not by default. Everything under the configuration directory belongs to that account, so a fresh ~/.claude-work starts without your settings, skills or plugins. Copy or link them in, or let a tool do it.
Can I move a conversation from one account to another?
In plain Claude Code, conversations live in each account's directory. In Tendeck you move an agent to another account and the same conversation carries on, when you decide to.
Does this work for Codex too?
Tendeck lets you add Codex accounts the same way, each logged in with codex login. A Codex agent stays on the account it started with.