Instant switching
Run ccs work and Claude Code uses that account. A unique prefix of the name is enough, or pick from a menu with ccs.
For Claude Code on Windows and Linux
Work and personal Claude accounts on one machine? ccs saves each login and switches Claude Code, in the terminal and in VS Code, in under a second. No more logging out, logging in and waiting for the browser.
v1.7.0 · 3.4 MB · Requires Claude Code. No administrator rights needed.
❯ ccs ls
3 saved accounts:
| * | Profile | Plan | Login expires | |
|---|---|---|---|---|
| * | personal | alice@example.com | Pro | 2026-12-03 (in 29 days) |
| work | alice@company.example | Team | 2026-12-01 (in 27 days) | |
| client | alice@client.example | Max | 2026-12-04 (in 30 days) |
(*) Active
❯ ccs work
Switched to "work" (alice@company.example)
❯
Run ccs work and Claude Code uses that account. A unique prefix of the name is enough, or pick from a menu with ccs.
Claude Code rotates its refresh tokens. ccs saves the latest tokens before every switch, so saved accounts keep working.
Double-click ccs.exe and press Enter. No administrator rights, no developer tools, nothing else to download.
Only the account record changes; every other Claude Code setting is kept. Files are written atomically, and the original login is backed up on first use.
ccs talks to no server of its own. It copies local files and runs the official claude auth commands.
ccs follows your system language. Switch at any time with ccs lang en or ccs lang vi.
Double-click ccs.exe and press Enter. ccs adds itself to your PATH.
Open a new terminal and run ccs login you@example.com once for each account.
Run ccs to pick from a menu, or ccs <name> to switch directly.
ccs | Open the account menu |
ccs alice | Switch to the account whose name starts with "alice" |
ccs ls | List saved accounts and when their logins expire |
ccs login [email] | Log in to a new account and save it |
ccs lang vi | Show ccs in Vietnamese |
ccs --help | See every command |
Free and open source under the MIT License. One file, about 3 MB. Windows users: double-click it to install.
sha256:e345de8d80a7a3eb…sha256:858d14aa959e41c1…sha256:40e201cee5d84f44…sha256:ce0e9ac6bcc888bd…Version v1.7.0 · SHA-256 checksums ·Source code on GitHub (opens in a new tab) · Requires Claude Code. No administrator rights needed.
Yes. Windows shows it for any program that is not code-signed. Click More info, then Run anyway. You can verify the file against the published SHA-256 checksums.
Start a new Claude Code session, or run Developer: Reload Window in VS Code. Sessions that are already running keep the previous account until then.
In the .claude-switch folder in your user profile, protected the same way as Claude Code's own login file.
Not yet. macOS keeps Claude Code tokens in the Keychain, which ccs does not support.
Run ccs uninstall. Your saved accounts stay until you delete the .claude-switch folder.