____ _ _ _ _ ____ _______ ___ _ ___
/ ___| | / \ | | | | _ \| ____\ \ / / | | |/ _ \
| | | | / _ \| | | | | | | _| \ \ /\ / /| |_| | | | |
| |___| |___ / ___ \ |_| | |_| | |___ \ V V / | _ | |_| |
\____|_____/_/ \_\___/|____/|_____| \_/\_/ |_| |_|\___/
Manage multiple Claude Code account configurations easily. Switch between work and personal accounts, or maintain separate configurations for different projects.
brew install frisble/tap/claudewhoOr:
brew tap frisble/tap
brew install claudewhogit clone https://github.com/frisble/claudewho.git
cd claudewho
chmod +x bin/claudewho
sudo ln -s "$(pwd)/bin/claudewho" /usr/local/bin/claudewhoclaudewho add work
claudewho add personal
claudewho add client-projectclaudewho listOutput:
Configured Claude accounts:
work ~/.claudewho-work (authenticated)
personal ~/.claudewho-personal (not authenticated)
client-project ~/.claudewho-client-project (authenticated)
Use claudewho-<name> or claudewho use <name> to launch.
# Using the wrapper command (recommended)
claudewho-work
claudewho-personal
# Or using the command
claudewho use workclaudewho remove personalThis will prompt for confirmation before deleting the account directory.
| Command | Description |
|---|---|
list |
List all configured accounts |
add <name> |
Create a new account configuration |
remove <name> |
Remove an account (with confirmation) |
use <name> |
Switch to the specified account |
ide-setup |
Configure IDE integration (VSCode) |
shell-init |
Print shell aliases for sourcing |
version |
Show version information |
help |
Show help message |
The Claude Code IDE extensions bundle their own CLI and don't respect CLAUDE_CONFIG_DIR by default. claudewho provides wrapper scripts that work with the extension's claudeProcessWrapper setting.
claudewho ide-setupThis creates the necessary wrapper scripts and prints configuration instructions.
All IDE windows share whichever account is active via claudewho use <name>.
Add to your VSCode settings.json (Cmd+Shift+P > "Open Settings (JSON)"):
"claude-code.claudeProcessWrapper": "~/.local/bin/claudewho-ide"Different workspaces can use different accounts simultaneously.
Add to your workspace's .vscode/settings.json:
"claude-code.claudeProcessWrapper": "~/.local/bin/claudewho-ide-work"To see all available per-account wrappers:
claudewho ide-setupOr get the config for a specific account:
claudewho ide-setup --account work- Each account is stored in
~/.claudewho-<name>/ - Account names are tracked in
~/.claudewho.conf - Wrapper scripts like
claudewho-workare created in~/.local/bin/and setCLAUDE_CONFIG_DIRbefore launching Claude - Your original
~/.claudedirectory is never modified
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Bash 4.0+ or Zsh
- macOS or Linux
- Each account requires a separate Anthropic account (different email)
- Each account has its own usage limits
- Check Anthropic's terms of service to ensure compliance
MIT