Skip to content

Claude Account Switcher

Several Claude Code accounts on one machine. Every login stays live, and each folder decides which one claude uses.

curl -fsSL https://switcher.diananerd.com | sh

Shows what it will change and asks first. macOS and Linux; tested on macOS.

How it works ​

text
~/work                -> work       (your work account)
~/work/side-project   -> personal   (an override for one folder)
~/personal            -> personal
~/other               -> asks once, then remembers

Install with the command above, then run claude-account setup: it names the login you already have, adds your other accounts and maps your folders. From then on, claude picks the account on its own. Read the guide.

MIT licensed. Provided as-is.