Installation
Prerequisites
- Node.js 18+ — Download
- Claude Code —
npm i -g @anthropic-ai/claude-code
Recommended: Use with npx
No installation needed — run directly:
bash
npx claude-account-switch initThis downloads and runs the latest version automatically.
Global Install
If you prefer a permanent installation:
bash
npm i -g claude-account-switchThen run commands directly:
bash
claude-account-switch init
claude-account-switch list
claude-account-switch use workVerify Installation
bash
# With npx
npx claude-account-switch list
# With global install
claude-account-switch listRequirements
| Requirement | Version |
|---|---|
| Node.js | 18+ |
| Claude Code | Latest |
| Platform | macOS, Linux, Windows (native + WSL) |
Zero Dependencies
claude-account-switch has no external dependencies — it uses only Node.js built-in modules for instant npx startup.