Simple API provider switcher for Claude Code CLI
- 🔄 Simple Provider Switching - Switch between 3 providers with one command
- 🔒 Security First - Separate credential storage with proper permissions
- 📁 Project-Aware - Auto-detects project-specific configs
- ⚡ Fast - Built with Bun and TypeScript
# Using Bun (recommended)
bun add -g @jigonr/claude-switch
# Using npm
npm install -g @jigonr/claude-switchclaude-switch # Show current provider
claude-switch anthropic # Switch to Anthropic API
claude-switch list # List all providers
claude-switch status # Show detailed status| Provider | Type | Description |
|---|---|---|
claude-pro-max |
Subscription | Claude Pro via browser |
anthropic |
API | Anthropic API |
z.ai |
API | z.ai with GLM models |
Full documentation available at jigonzalez.com/claude-switch
git clone https://github.com/jigonr/claude-switch.git
cd claude-switch
bun install
bun run devMIT © J.I. Gonzalez-Rojas
- letta-switch - Configuration manager for Letta CLI