Claude Desktop only allows one account at a time, so there's no built-in way to keep multiple Claude Desktop accounts signed in. If you have a work account and a personal one (or a Team seat + your own Pro), you have to sign out and sign back in every time you switch, and you lose your place and your context.

I got tired of that, so I made claude-desktop-twins, a small free CLI (MIT) that clones Claude Desktop once per account.

brew install dakiquang/tap/claude-desktop-twins
cdt add work@example.com
cdt add personal@example.com
cdt open work

That’s it. Each account becomes its own app in ~/Applications/Claude Desktop Twins/. Separate Dock icon, separate Cmd-Tab entry, separate notifications. Open it once, sign in, done.

--user-data-dir isn’t enough You can already launch a second instance like this:

open -n -a "Claude" --args --user-data-dir="$HOME/Library/Application Support/Claude-Work"

It works for signing in, but macOS still treats both windows as the same app. Same Dock icon, same notification settings. When a notification comes in, clicking it opens whichever copy macOS feels like. With two accounts that’s how you accidentally reply from the wrong one.

cdt add makes an APFS clone of /Applications/Claude.app (almost no extra disk space) and changes a few things:

Nothing from Anthropic is shipped with the tool. Every copy is made on your machine from the Claude.app you already have.

cdt open work        # open or bring to front
cdt                  # pick from a menu
cdt list             # see what’s running and which clones are outdated
cdt doctor           # check if everything is healthy

cdt doctor checks each copy’s signature, version, update block and notification permission:

After Claude Desktop updates, open the original app once so it updates, then rebuild any account that cdt list marks as stale:

cdt rebuild work@example.com

You can also set a custom icon per account if you want them easier to tell apart in the Dock:

cdt icon set work@example.com ~/Pictures/work.icns

The Code tab still shares ~/.claude across all copies. If you also use Claude Code in the terminal with multiple accounts, just point each one to its own config:

CLAUDE_CONFIG_DIR=~/.claude-work claude
CLAUDE_CONFIG_DIR=~/.claude-personal claude

/Applications and Xcode Command Line Toolscdt rebuild There’s also a paid version that sits in the menu bar and lets you switch with ⌥1–⌥9, update all accounts in one click, and see usage limits. The CLI stays free and does everything above on its own:

Questions or something broke on your setup? Just open an issue:

github.com/dakiquang/claude-desktop-twins/issues

原文来源:dev.to