# Claude 02: a second Claude desktop app with its own login

Paste this into Claude Code on your Mac, or save it and tell Claude Code: "Follow the steps in claude-02-prompt.md".
Source: https://thier-folio.vercel.app/article/two-claude-desktops/

---

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.
