# Claude Account Switcher
**claude-account gives [[Claude Code]] one isolated config and credential store per account, so switching between work and personal stops meaning "log in again".** Rust, MIT, Linux and macOS.
## How it works
It installs a shim that intercepts `claude`, points the process at the right profile directory, then forwards to the real binary. Each profile gets its own config and credentials, so nothing bleeds across accounts. On macOS it uses Keychain's profile-scoped credential storage (Claude Code 2.1.144+).
Profiles live under `~/.config/claude-account/` and `~/.local/share/claude-account/` on Linux, `~/Library/Application Support/claude-account/` on macOS. `XDG_CONFIG_HOME`, `XDG_DATA_HOME` and `CLAUDE_ACCOUNT_HOME` are respected.
## Commands
- `claude account add <name>`
- `claude account use <name>`
- `claude account list`
- `claude account current`
- `claude account remove <name>`
Because profiles are directory-scoped, you can keep work open in one terminal and personal in another at the same time.
## Worth knowing
You can get most of this yourself with `CLAUDE_CONFIG_DIR` plus a couple of shell aliases, which several people pointed out on Hacker News. The tool's value is that it handles the credential storage part cleanly rather than leaving you to shuffle files around.
Profiles are isolated by design, so memories and transcripts do not follow you across accounts. And this only covers Claude Code, not the other Claude products.
## Related
- [[Claude Code]]
- [[Claude Code Configuration]]
- [[Claude Code Tips and Best Practices]]
## References
- Source code: https://github.com/hamzarehmandeveloper/claude-account
- Hacker News discussion: https://news.ycombinator.com/item?id=49111019