Skip to content

How to run two Claude Desktop instances on macOS

A step by step guide to running a work and a personal Claude Desktop side by side, each with its own sign-in, its own skills and MCP servers, and its own colour in the Dock.

8 min read Updated
Contents

Claude Desktop opens one window per Mac, signed into one account. If you keep work and personal separate, that is one account too few.

This guide gets you two copies running side by side: your normal Claude with the orange icon, and a second Claude Work with a blue icon, its own sign-in, its own history, and its own skills and MCP servers. It takes about ten minutes, installs nothing, and undoes cleanly.

Work through the steps in order. Each one ends with what you should see, so you can tell it worked before moving on. If you would rather paste one block and be done, skip to the whole thing as one script at the end.

What you need

  • macOS on an APFS disk. Any Mac from the last several years qualifies, and the guide tells you if yours does not.
  • Claude Desktop installed at /Applications/Claude.app.
  • A second Claude account to sign the new instance into.
  • Terminal, and about ten minutes.

You will create exactly three things, all removable:

PathWhat it is
~/.claude-work-desktopThe second instance’s data: sign-in, settings, history
~/.claude-work-appA cloned copy of Claude.app, plus two small scripts
/Applications/Claude Work.appThe launcher you click or pin to the Dock

Step 1: open a second instance

Claude Desktop is an Electron app, so it accepts Chromium’s --user-data-dir flag. Point it at a folder that does not exist yet and you get a completely separate instance.

Run this with Claude already open:

open -n /Applications/Claude.app --args --user-data-dir="$HOME/.claude-work-desktop"
  • -n tells macOS to start a new instance instead of focusing the running one.
  • Everything after --args is passed to the app rather than to open.

You should see a second Claude window, signed out, with no history. Sign in with your work account. Your personal window keeps running untouched.

Pick a folder the desktop app can have to itself. If you also run Claude Code with a separate config directory, do not reuse that directory here. The desktop app fills its data folder with browser files (Cookies, Cache, Local Storage, Preferences), and those do not belong next to CLI settings.

That is two instances working. The next three steps make it something you can click, tell apart, and live with.

Step 2: give the work copy its own app bundle

Right now both windows run from the same Claude.app. That causes two problems, and one bundle fixes both:

  • The Dock shows the icon of the app that is running. Both instances run the same bundle, so both get the same icon, and no amount of tinting in step 3 will separate them.
  • open -n starts a duplicate every time. Clicking a launcher while the work instance is already open would start a second process on the same data folder, and two processes on one data folder can overwrite each other’s settings and sessions.

Quit the work window from step 1 with ⌘Q, then make the copy:

mkdir -p ~/.claude-work-app
cp -cR /Applications/Claude.app ~/.claude-work-app/"Claude Work.app"
xattr -dr com.apple.quarantine ~/.claude-work-app/"Claude Work.app" 2>/dev/null

cp -c asks APFS for a clone rather than a copy. It is instant, and the two bundles share their data on disk until one of them changes, so a second Claude costs almost no space. On a non-APFS disk cp -c fails; drop the -c and you get a real copy, about a gigabyte.

The folder is hidden (the leading dot) so Spotlight does not index the clone. That matters: you want one searchable Claude Work to click, not two.

Now open the clone instead:

open -a ~/.claude-work-app/"Claude Work.app" --args --user-data-dir="$HOME/.claude-work-desktop"

Note there is no -n this time. With its own bundle, plain open -a focuses the running copy if there is one, exactly like clicking Claude does.

You should see your work instance back, still signed in. The Dock still shows two identical orange icons. Step 3 fixes that.

Step 3: tint its icon

Two identical icons are easy to mix up. macOS can recolour one with nothing installed, because JavaScript for Automation can call AppKit and Core Image straight from osascript.

Save the tinting script:

cat > ~/.claude-work-app/tint.js <<'EOF'
ObjC.import('AppKit');
ObjC.import('CoreImage');
const env = $.NSProcessInfo.processInfo.environment;
const get = k => env.objectForKey(k).js;
const SRC = get('SRC'), DST = get('DST'), S = 1024;
const deg = parseFloat(get('HUE'));

const icon = $.NSWorkspace.sharedWorkspace.iconForFile(SRC);
const rep = $.NSBitmapImageRep.alloc.initWithBitmapDataPlanesPixelsWidePixelsHighBitsPerSampleSamplesPerPixelHasAlphaIsPlanarColorSpaceNameBytesPerRowBitsPerPixel(
  null, S, S, 8, 4, true, false, 'NSDeviceRGBColorSpace', 0, 0);
$.NSGraphicsContext.saveGraphicsState;
$.NSGraphicsContext.setCurrentContext($.NSGraphicsContext.graphicsContextWithBitmapImageRep(rep));
icon.drawInRectFromRectOperationFraction($.NSMakeRect(0, 0, S, S), $.NSMakeRect(0, 0, 0, 0), 2, 1.0);
$.NSGraphicsContext.restoreGraphicsState;

const f = $.CIFilter.filterWithName('CIHueAdjust');
f.setValueForKey($.CIImage.alloc.initWithBitmapImageRep(rep), 'inputImage');
f.setValueForKey($(deg * Math.PI / 180), 'inputAngle');
const out = $.NSImage.alloc.initWithSize($.NSMakeSize(S, S));
out.addRepresentation($.NSBitmapImageRep.alloc.initWithCIImage(f.outputImage));

$.NSWorkspace.sharedWorkspace.setIconForFileOptions(out, DST, 0) ? 'Icon set: ' + DST : 'FAILED to set icon: ' + DST;
EOF

It does four things: asks macOS for Claude’s current icon with NSWorkspace.iconForFile, draws it into a 1024 px bitmap, rotates the hue with Core Image’s CIHueAdjust filter so the shape and shading survive and only the colour changes, then sets the result as the target’s custom icon.

Apply it to the clone:

SRC=/Applications/Claude.app DST="$HOME/.claude-work-app/Claude Work.app" HUE=200 \
  osascript -l JavaScript ~/.claude-work-app/tint.js

You should see Icon set: /Users/you/.claude-work-app/Claude Work.app printed back, and the running Dock icon turn blue. If it prints FAILED to set icon, jump to App Management in troubleshooting.

HUE is degrees around the colour wheel, starting from Claude’s orange:

HUEResult
40A subtle shift toward gold
120Green
200Blue
260Purple

Every run starts again from Claude’s original icon, not from the last result, so you can try values until one sticks.

Step 4: make it clickable and pinnable

Typing that open -a line every morning gets old. This step builds a launcher that appears in Spotlight and can live in your Dock.

First a script for the launcher to run. It is deliberately more careful than the command you have been typing: it recreates the clone if it ever goes missing, and re-applies the tint after a Claude update wipes it.

cat > ~/.claude-work-app/launch.sh <<'EOF'
#!/bin/bash
APPDIR="$HOME/.claude-work-app"
CLONE="$APPDIR/Claude Work.app"
DATA="$HOME/.claude-work-desktop"
HUE="${HUE:-200}"
mkdir -p "$DATA"
if [ ! -d "$CLONE" ]; then
  cp -cR /Applications/Claude.app "$CLONE"          # APFS clone: instant, uses no extra disk space
  xattr -dr com.apple.quarantine "$CLONE" 2>/dev/null
fi
if [ ! -e "$CLONE/Icon"$'\r' ]; then
  SRC=/Applications/Claude.app DST="$CLONE" HUE="$HUE" osascript -l JavaScript "$APPDIR/tint.js"
fi
open -a "$CLONE" --args --user-data-dir="$DATA"
EOF

The custom icon lives in a file literally named Icon followed by a carriage return, which is why the check looks the way it does. When an update removes it, the next launch puts it back.

Now wrap that in a real app and tint the launcher to match:

osacompile -o "/Applications/Claude Work.app" -e 'do shell script "/bin/bash \"$HOME/.claude-work-app/launch.sh\""'
SRC=/Applications/Claude.app DST="/Applications/Claude Work.app" HUE=200 osascript -l JavaScript ~/.claude-work-app/tint.js

You should see a blue Claude Work when you type “claude” into Spotlight. Click it and your work instance opens.

Pin the launcher, not the running icon. Choosing “Keep in Dock” on the running blue icon pins the clone itself, and the clone opened directly has no --user-data-dir, so it would open your personal data instead. Drag Claude Work out of /Applications into the Dock instead. The launcher starts Claude and quits immediately, so it never occupies a Dock slot of its own.

Step 5: bring over your skills and MCP servers

A fresh instance signs in fine but starts with none of your skills or MCP servers. Where it looks for them depends on which tab you are in.

The Code tab

Local Code sessions load personal skills from ~/.claude/skills/ by default. To point the work instance somewhere else, set CLAUDE_CONFIG_DIR.

Do not export it in ~/.zshrc. Desktop reads your login shell’s exports at startup, so both instances and your plain claude command would all pick it up. Use the work instance’s own environment editor:

  1. Open the Code tab in the work instance.

  2. In the environment selector, hover over your computer under Local and click the gear icon.

  3. Add one line with the full path (run echo $HOME/.claude-work to get yours), then save:

    CLAUDE_CONFIG_DIR=/Users/you/.claude-work
  4. Quit the work instance with ⌘Q and reopen it.

That brings over the skills, settings, plugins and user-level MCP servers from that config directory.

Chat and Cowork

These tabs do not read a local config directory at all.

  • Skills come from your claude.ai account. Cowork takes its skills, plugins and connectors from Customize, which syncs through claude.ai, so upload them there on the work account. Zip each folder in your config directory’s skills/ and upload it.
  • Local MCP servers come from claude_desktop_config.json. Because the data folder moved, the work instance has its own copy; Settings → Developer → Edit Config opens it.

If you already have command-based servers set up for the CLI, this copies them across and keeps a backup:

CFG="$HOME/.claude-work-desktop/claude_desktop_config.json"
[ -f "$CFG" ] || echo '{}' > "$CFG"
cp "$CFG" "$CFG.bak"
jq --slurpfile cli "$HOME/.claude-work/.claude.json" \
  '.mcpServers = (.mcpServers // {}) + ($cli[0].mcpServers // {} | with_entries(select(.value.command)) | map_values({command, args: (.args // []), env: (.env // {})}))' \
  "$CFG.bak" > "$CFG"

Servers that connect by URL are not copied. Add those under Settings → Connectors as custom connectors. This lists the ones you need to move:

jq -r '.mcpServers // {} | to_entries[] | select(.value.url) | "\(.key)  \(.value.url)"' ~/.claude-work/.claude.json

Quit and reopen after editing the config, because Desktop reads it only at startup.

Check it worked

Run through these:

  • Spotlight shows one orange Claude and one blue Claude Work.
  • Both can run at once, with two differently coloured icons in the Dock.
  • Clicking Claude Work while it is already open focuses the existing window instead of opening a second one.
  • The two instances show different accounts and different histories.
  • The work instance’s Code tab lists your work skills.

Troubleshooting

App Management

If tinting printed FAILED to set icon, or macOS warned that Terminal was prevented from modifying apps, macOS is blocking Terminal from changing an app bundle. Turn Terminal on under System Settings → Privacy & Security → App Management, then run:

bash ~/.claude-work-app/launch.sh

The launcher may ask for the same permission again after a Claude update.

An MCP server will not start

Give its command a full path, such as /opt/homebrew/bin/npx rather than npx. The app does not always inherit your shell’s PATH.

Both copies share one bundle identifier, so macOS treats them as the same app and may hand a link to either one. If a connector’s sign-in seems to vanish, check the other window.

The Dock icon went back to orange

A Claude update replaced the clone’s bundle and removed the custom icon. Launching from Claude Work puts it back, because launch.sh checks on every run.

cp -c failed

Your disk is not APFS. Drop the -c and run cp -R instead. The clone becomes a real copy of about a gigabyte, and everything else works the same.

Undo

rm -rf "/Applications/Claude Work.app" ~/.claude-work-app

That removes the launcher and the clone. Delete the data folder too, but only if you are finished with the work profile, because it holds that instance’s sign-in and history:

rm -rf ~/.claude-work-desktop

The whole thing as one script

Steps 2 to 4 in one block, for a second machine or a rebuild. It is safe to re-run: it skips the clone if one exists and re-tints only when the icon is missing. If you have run it before and a work instance is open, quit that instance first, so it is not replaced underneath a running app.

APPDIR="$HOME/.claude-work-app"
mkdir -p "$APPDIR"

# 1. Icon tinting helper (reads SRC, DST and HUE from the environment)
cat > "$APPDIR/tint.js" <<'EOF'
ObjC.import('AppKit');
ObjC.import('CoreImage');
const env = $.NSProcessInfo.processInfo.environment;
const get = k => env.objectForKey(k).js;
const SRC = get('SRC'), DST = get('DST'), S = 1024;
const deg = parseFloat(get('HUE'));

const icon = $.NSWorkspace.sharedWorkspace.iconForFile(SRC);
const rep = $.NSBitmapImageRep.alloc.initWithBitmapDataPlanesPixelsWidePixelsHighBitsPerSampleSamplesPerPixelHasAlphaIsPlanarColorSpaceNameBytesPerRowBitsPerPixel(
  null, S, S, 8, 4, true, false, 'NSDeviceRGBColorSpace', 0, 0);
$.NSGraphicsContext.saveGraphicsState;
$.NSGraphicsContext.setCurrentContext($.NSGraphicsContext.graphicsContextWithBitmapImageRep(rep));
icon.drawInRectFromRectOperationFraction($.NSMakeRect(0, 0, S, S), $.NSMakeRect(0, 0, 0, 0), 2, 1.0);
$.NSGraphicsContext.restoreGraphicsState;

const f = $.CIFilter.filterWithName('CIHueAdjust');
f.setValueForKey($.CIImage.alloc.initWithBitmapImageRep(rep), 'inputImage');
f.setValueForKey($(deg * Math.PI / 180), 'inputAngle');
const out = $.NSImage.alloc.initWithSize($.NSMakeSize(S, S));
out.addRepresentation($.NSBitmapImageRep.alloc.initWithCIImage(f.outputImage));

$.NSWorkspace.sharedWorkspace.setIconForFileOptions(out, DST, 0) ? 'Icon set: ' + DST : 'FAILED to set icon: ' + DST;
EOF

# 2. Launch script: makes the copy if needed, restores the icon after updates, opens it
cat > "$APPDIR/launch.sh" <<'EOF'
#!/bin/bash
APPDIR="$HOME/.claude-work-app"
CLONE="$APPDIR/Claude Work.app"
DATA="$HOME/.claude-work-desktop"
HUE="${HUE:-200}"
mkdir -p "$DATA"
if [ ! -d "$CLONE" ]; then
  cp -cR /Applications/Claude.app "$CLONE"          # APFS clone: instant, uses no extra disk space
  xattr -dr com.apple.quarantine "$CLONE" 2>/dev/null
fi
if [ ! -e "$CLONE/Icon"$'\r' ]; then
  SRC=/Applications/Claude.app DST="$CLONE" HUE="$HUE" osascript -l JavaScript "$APPDIR/tint.js"
fi
open -a "$CLONE" --args --user-data-dir="$DATA"
EOF

# 3. The clickable launcher, tinted to match
osacompile -o "/Applications/Claude Work.app" -e 'do shell script "/bin/bash \"$HOME/.claude-work-app/launch.sh\""'
SRC=/Applications/Claude.app DST="/Applications/Claude Work.app" HUE=200 osascript -l JavaScript "$APPDIR/tint.js"

# 4. First launch
bash "$APPDIR/launch.sh"

Sources

Share