Multiseat for Claude Code
Switch between multiple Claude Code accounts without signing out — in VS Code and in the terminal.
Website · VS Code Marketplace · Report an issue

Unofficial. This project is not affiliated with, endorsed by, or sponsored by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic, PBC.
Each account keeps its own login in its own folder, so switching never signs you out. Your conversation history can be shared between accounts or kept separate — you choose per account.
- 🔐 Security first. Never reads, copies, backs up, or logs credentials. No network access, no telemetry, no runtime dependencies in the CLI. See SECURITY.md and the threat model.
- 🪟🍎🐧 macOS, Linux and Windows. VS Code, VS Code Insiders, VSCodium and Cursor.
- 🧩 Two front ends, one core. A command-line tool (
multiseat) and a VS Code extension (status-bar switcher).
- 🧷 Safe edits. Your
settings.json keeps its comments, trailing commas, BOM and line endings. Every change is backed up first (private 0600 files), and a syntax error anywhere aborts the whole switch with nothing changed.
Install
VS Code extension (recommended)
- Open VS Code and go to Extensions (
Cmd+Shift+X on macOS, Ctrl+Shift+X on Windows/Linux).
- Search for Multiseat for Claude Code (publisher Tolga Kurtuluş) and click Install. You can also run
ext install tolgakurtulus.multiseat-for-claude-code-vscode in the Command Palette's quick-open (Cmd/Ctrl+P), or open the Marketplace page.
- VS Code asks "Do you trust the publisher?". New publishers show not verified until they prove ownership of a domain, so this is expected. The full source is on GitHub; check it first if you like, then choose Trust Publisher & Install.
You also need the official Claude Code extension, which Multiseat configures but does not replace.
Node.js 20+.
npm install -g multiseat-for-claude-code
multiseat --help
Let Claude Code set it up for you
Prefer not to click through it yourself? Paste this prompt into Claude Code (in VS Code or a terminal) and it will install everything and walk you through. Read it first: it is plain text, and you stay in control because it must ask before changing anything.
Install and set up "Multiseat for Claude Code" for me. It lets me switch between several Claude Code accounts without signing out.
- VS Code extension id: tolgakurtulus.multiseat-for-claude-code-vscode
- Source: https://github.com/tolgakurtulus/multiseat-for-claude-code
Ground rules:
- Never read, print, copy or edit credential files or the keychain (for example ~/.claude/.credentials.json, ~/.claude.json, anything named *credentials*, *token* or *secret*). I will sign in myself.
- Do not use sudo. Do not modify anything except what the steps below say.
- Before any step that changes my settings, show me exactly what will change and wait for my "yes".
- Do not reload or close my editor; tell me when I should.
Steps:
1. Check which editor command exists: code, code-insiders, codium or cursor (for example `command -v code`). If none is found, tell me to run "Shell Command: Install 'code' command in PATH" from the VS Code Command Palette, then stop.
2. Install the extension: `code --install-extension tolgakurtulus.multiseat-for-claude-code-vscode` (use the editor command you found).
3. Install the command-line tool. Try `npm install -g multiseat-for-claude-code`. If that package is not found on npm, build it from source instead: clone the repository into a temporary folder, run `pnpm install --frozen-lockfile --ignore-scripts`, `pnpm build`, `pnpm --filter multiseat-for-claude-code pack --pack-destination "$PWD"`, then `npm install -g ./multiseat-for-claude-code-*.tgz`. This needs Node.js 20+ and pnpm; if either is missing, tell me how to install it and stop. Afterwards run `multiseat --version`.
4. Ask me: what should the extra account be called (letters, digits, - or _), and should it share my conversation history with my default account (recommended) or keep a separate one? Then run `multiseat add <name>` with `--sessions shared` or `--sessions isolated`.
5. Run `multiseat use <name> --dry-run`, show me the output, and ask whether to switch now. Only if I say yes, run `multiseat use <name>`.
6. Run `multiseat doctor` and show me the result. If it reports a problem, explain it and propose a fix; do not apply the fix without asking.
7. Finish by telling me: reload the VS Code window (Command Palette, "Developer: Reload Window"), then run /login once in Claude Code to sign in to the new account. After that I can switch any time by clicking the account name in the status bar, or with `multiseat use <name>` / `multiseat use default`.
A prompt can only do what you let it do. Check the commands Claude asks to run, as you would for any script, and approve them one by one.
Step by step in VS Code
This walkthrough adds a second account called work and switches to it and back. Nothing here signs you out of anything.
1. Find the status-bar item. After installing, the bottom-left of the window shows a swap-arrows icon and the name of the active account, default at first. Click it any time to switch.
2. Add an account. Open the Command Palette (Cmd/Ctrl+Shift+P) and run Multiseat: Add Account.
- Type a short name, for example
work (letters, digits, - and _).
- Choose how the account stores conversations: Shared sessions (same history and memory as your default account, recommended) or Separate sessions (its own private history). You can change this later.
- A message says Added "work". Switch to it now? Click Switch.
3. Reload the window. A message asks Reload the window to apply? Click Reload Window. A reload interrupts any running Claude Code conversation in that window, which is why you are asked first. (Choose Later to keep working and reload yourself.)
4. Sign in once. In the Claude Code panel run /login and sign in with the account you want to use for work. You only do this the first time; the login is kept in that account's own folder.
5. Switch back and forth. Click the account name in the status bar, pick an account from the list (the active one has a check mark, and your e-mail address is shown if the account has logged in), and reload. You are still signed in to every account.
6. Check that everything is healthy. Run Multiseat: Check Setup (Doctor). It prints a report in the Multiseat output panel and shows no problems found when all is well.
Other commands in the Command Palette: Multiseat: Change Session Sharing for an Account and Multiseat: Switch Account in All Profiles and Editors (for several profiles or editors, such as Cursor).
VS Code profiles do not share settings, so Multiseat updates the profile you are in. If you use several profiles, either switch in each one or use Switch Account in All Profiles and Editors.
The same from the terminal
$ multiseat add work
Added "work" -> ~/.claude-work [sessions: shared]
Next: multiseat use work, reload the VS Code window, then run /login in Claude Code.
$ multiseat list
* default ~/.claude you@example.com
work ~/.claude-work [sessions: shared]
$ multiseat use work
updated Code / global
Active account: work
Now reload VS Code: Cmd/Ctrl+Shift+P -> Developer: Reload Window
$ multiseat status
Active account: work
Code / global: work
$ multiseat doctor
ok Registry OK (1 account(s)): ~/.config/claude-multiseat/accounts.json
ok Editors: Code
ok All settings files agree on the active account
ok No problems found
$ multiseat use default # back to your first account, still signed in
To run Claude Code in a terminal as one account, without touching VS Code: multiseat run work, or eval "$(multiseat env work)" and then claude.
Quick reference
multiseat add work # creates ~/.claude-work (sessions shared with your default account)
multiseat use work # points VS Code at that account (then reload the window, /login once)
multiseat use default # back to your original account
Sessions: shared or separate
| Mode |
What it means |
Good for |
shared (default) |
The account uses the same projects/ (conversations and per-project memory) and file-history/ as your default account. A conversation started in one account shows up in the other. |
One person with several accounts |
isolated |
The account keeps its own private history. |
Keeping work and personal history apart |
Change it any time:
multiseat sessions work isolated # unlink; shared data is never deleted
multiseat sessions work isolated --copy # ...and start with a copy of the shared history
multiseat sessions work shared # merge the account's own history into the shared folder
Switching to shared merges without overwriting anything: if a file exists in both places, yours stays where it is and the conflicting copy is kept next to it. Close Claude Code windows that use the account first, and don't run the same conversation from two accounts at once.
CLAUDE.md, agents/, skills/ and commands/ are linked too (opt out with --no-share-config). Credentials, settings, policy files, plugins and shell snapshots are never shared.
Commands
| Command |
Description |
multiseat list |
Accounts, active marker, e-mail label, session mode |
multiseat status |
Active account and the state of every settings file |
multiseat add <name> [--dir PATH] [--sessions shared\|isolated] [--no-share-config] |
Register an account |
multiseat use <name\|default> [--dry-run] [--editor code\|cursor\|…] |
Switch |
multiseat sessions <name> <shared\|isolated> [--copy] |
Change session sharing |
multiseat env <name\|default> [--shell posix\|fish\|powershell\|cmd] |
Print a statement that selects the account in a terminal: eval "$(multiseat env work)" |
multiseat run <name\|default> [-- args] |
Start claude for that account in this terminal |
multiseat remove <name> |
Forget an account (its folder and login are left alone) |
multiseat doctor |
Read-only health check |
Add --json to list, status, use and doctor for scripting.
How it works
Claude Code reads its login and data from CLAUDE_CONFIG_DIR (default ~/.claude). Multiseat gives each account its own folder and sets that variable through the Claude Code extension's claudeCode.environmentVariables setting. Nothing else about Claude Code is modified. Details: docs/ARCHITECTURE.md.
- VS Code profiles do not inherit each other's settings. Multiseat therefore updates the default settings and every profile. The CLI does this for every editor it finds (limit it with
--editor); the extension's status-bar switch does it for the editor it runs in, and Switch Account in All Profiles and Editors covers every editor. If two editors (say VS Code and Cursor) end up on different accounts, multiseat doctor just notes it; only profiles within one editor disagreeing counts as a problem.
- Windows: directory links use junctions (no admin rights or Developer Mode needed). Single-file links need symlink permission; otherwise
CLAUDE.md is copied instead.
- Remote / WSL / SSH windows are not supported: the config folder lives on your local machine.
- Portable VS Code: set
CLAUDE_MULTISEAT_SETTINGS_DIRS to its User folder (path-delimited list).
Troubleshooting
Run multiseat doctor. It checks the registry, links, permissions and whether your settings files agree. Common cases: the editor shows the wrong account (reload the window), a workspace's .vscode/settings.json overrides the account (the status bar shows a warning icon).
Author and support
Created and maintained by Tolga Kurtuluş (portfolio · project website · GitHub).
- General questions or collaboration: tolgakurtulus.dev@gmail.com
- Like it? You can buy me a coffee. It is entirely optional and the project stays free and open source.
- Found a bug or have an idea? Open an issue.
- Security problem? Please use the private reporting described in SECURITY.md, not a public issue.
Responsible use
Use Multiseat only with accounts you are entitled to use. It is a convenience for people who legitimately have more than one account (for example work and personal). It is not a way to share one subscription between people or to get around usage limits; please follow Anthropic's terms.
Development
pnpm install --frozen-lockfile --ignore-scripts
pnpm typecheck && pnpm build && pnpm coverage
pnpm package:vsix
To build and install the command-line tool from source instead of npm:
pnpm --filter multiseat-for-claude-code pack --pack-destination "$PWD"
npm install -g ./multiseat-for-claude-code-*.tgz
See CONTRIBUTING.md. Licensed under the Apache License 2.0.