Fathir Back to portfolio

Two Claude desktop apps, two accounts, one Mac

A second copy of the Claude desktop app with its own login. What you gain, what it costs, and a prompt to build it yourself.

Platform macOS Setup About 5 minutes with Claude Code Status Unofficial workaround

I use one Claude account for work and another for my own projects. The desktop app holds one login at a time, so switching meant logging out, logging back in, and losing my place.

The browser can hold a second account, but it doesn’t have what I use the desktop app for: the Code tab, the built-in browser, local folders and connectors. So I asked Claude Code to make me a second desktop app. A few dead ends later, a blue Claude sat next to the orange one in my Dock.

The original orange Claude app icon Claude Account one
The same Claude icon recolored blue Claude 02 Account two
Same app, two icons, two logins. The color tells you which account you’re in.

How it works

The Claude desktop app is built on Electron. An Electron app keeps its login, chats and settings in one data folder. Two apps that read the same folder share one login. Point the copy at a different folder and it becomes a separate app.

Each app reads its own folder, so nothing is shared between the two accounts.

Building the copy takes four steps:

  1. Copy Claude.app to ~/Applications/Claude 02.app. On a Mac this can be an APFS clone, so it takes almost no extra disk space.
  2. Swap the app’s main program for a short script that starts the real one with --user-data-dir pointing at a new folder.
  3. Recolor the icon blue, give the copy its own name and bundle ID, and remove its claude:// link handler so links still open the original.
  4. Sign the copy on your own Mac so macOS lets it run.

Two things I tried first didn’t work. A shortcut that opens the same app with a different folder does give you a second login, but the Dock still shows an orange icon, so you can’t tell the two apart. And the app does read a CLAUDE_USER_DATA_DIR setting, but the official build ignores it. The --user-data-dir flag is the part that works.

What you get

  • Two accounts open side by side. Work and personal, or yours and a client’s, with no logging out in between.
  • The full desktop app on both. The Code tab, built-in browser, artifacts, connectors and local folders work in each copy.
  • Nothing leaks across. Each copy has its own chats, settings, connectors and MCP servers.
  • You can tell them apart at a glance. Orange is account one, blue is account two.
  • It barely uses disk space. The copy shares unchanged files with the original. Mine added about 0.2 GB.

What it costs

  • It’s unofficial. It depends on how the app works today. Any update can break it, and Anthropic doesn’t support it.
  • The copy doesn’t update itself. When the original updates, quit Claude 02 and run the rebuild script. Your login stays.
  • Logging in needs one extra step. After you sign in on the web, the login link goes to the Claude app that opened first. Quit the orange app, log in on the blue one, then reopen the orange one. You only do this once.
  • macOS asks about the Keychain once. The copy is signed on your Mac, not by Anthropic, so macOS asks whether it can use “Claude Safe Storage”. Choose Always Allow.
  • It uses twice the memory. Two Electron apps running means roughly double the RAM.
  • Two accounts are two plans. Each account keeps its own plan, limits and terms. This setup keeps accounts apart. It isn’t a way around a plan’s limits.

Is it worth it?

Yes, if you switch between two accounts every day and need the desktop features on both. If you only need a second account now and then, open claude.ai in your browser instead. There’s nothing to set up or maintain.

Build it yourself

Paste this prompt into Claude Code on your Mac, or download it as a Markdown file and tell Claude Code to follow it. It takes about five minutes, and Claude Code asks before it runs each command. You need the Claude desktop app in /Applications first.

Prompt for Claude Code
Download .md
Make me a second Claude desktop app on my Mac called "Claude 02": a copy of the Claude desktop app with a blue icon and its own login, so I can use two Claude accounts at the same time. Don't change /Applications/Claude.app.

What's known (check again on my version if needed):
- The official build ignores the CLAUDE_USER_DATA_DIR variable, but the --user-data-dir=<folder> flag keeps data and login separate.
- A shortcut that runs `open -n -a Claude --args ...` isn't enough: the Dock icon stays orange. It has to be a full copy of the app.

Steps:
1. Copy /Applications/Claude.app to ~/Applications/"Claude 02.app" with `cp -cR` (APFS clone, saves disk space).
2. In Contents/MacOS, rename the Claude binary to Claude.bin and replace it with a bash script named Claude that runs:
   exec "$DIR/Claude.bin" --user-data-dir="$HOME/Library/Application Support/Claude-02" "$@"
   (create the folder first if it doesn't exist).
3. Make a blue icon: convert Contents/Resources/electron.icns to a 1024px PNG with sips, shift the orange hue to blue/teal (Python PIL, hue +0.47 for pixels with saturation above 0.15), then build an .icns with iconutil.
4. Edit the copy's Info.plist: remove CFBundleIconName, set CFBundleIconFile to the blue icns, set CFBundleIdentifier to com.anthropic.claudefordesktop.c02, set CFBundleDisplayName to "Claude 02", and remove CFBundleURLTypes so claude:// links still go to the original app.
5. Re-sign with `codesign --force --deep -s -`, register it with lsregister -f, then launch it and check that the app and its helper processes are running.
6. Save all of these steps as ~/.claude-02/rebuild.sh (keep the icns next to it) so I can rebuild after Claude updates.

When you're done, tell me:
- How to log in to the second account: quit the orange Claude (Cmd+Q), log in on Claude 02, click "Open Claude" in the browser, then reopen the orange one. The login link always goes to the Claude app that opened first.
- If macOS asks for Keychain access to "Claude Safe Storage", choose Always Allow.
- Claude 02 doesn't update itself. After Claude updates, quit Claude 02 and run rebuild.sh.

After the original app updates, quit Claude 02 and run ~/.claude-02/rebuild.sh in Terminal. Your second login stays.

What I learned

Check how the app actually works before guessing. Claude Code searched the app’s own code and found both the ignored setting and the flag that works, which saved a lot of trial and error.

The copy wasn’t the hard part. Logging in was. It took one failed login to see that macOS sends the login link to whichever Claude app opened first.

Written by M Fathir Ramadhennis

Indonesia-based Product Designer with 3+ years of experience across different industries and digital products.