Switch between multiple Claude Pro accounts and OpenRouter instantly.
If you use Claude Code, you might need to:
- Switch Accounts: Toggle between Personal and Work Claude Pro subscriptions.
- Use API Providers: Switch to OpenRouter for access to other models or billing.
- Bypass Permissions: Quickly run safe commands without constant approval checks.
cc-switch solves this with a simple ccs command.
```bash
# One-line install
curl -fsSL https://raw.githubusercontent.com/venkycs/cc-switch/main/install.sh | bash
# Reload Shell
source ~/.zshrc # or ~/.bashrc
## 🎮 Usage
### 1. Manage Profiles (Claude Pro)
Easily save and switch between different Claude accounts stored in your Keychain.
```bash
# Login and save a new profile (Interactive)
ccs login work
# Switch to 'work' profile
ccs use work
# List saved profiles
ccs list
Switch to OpenRouter API backend.
# Set your key once
ccs set-key sk-or-your-key-here
# Switch to OpenRouter
ccs openrouterWe added a super-short command c to run Claude Code faster (skipping permission checks).
Instead of typing:
claude --dangerously-skip-permissionsJust type:
c(You can also pass arguments, e.g., c "fix this bug")
# Update to latest version
ccs update
# Check status
ccs statusFor detailed architecture and how it works under the hood, check out docs/ARCHITECTURE.md.
Use ccs run (or the --dangerously-skip-permissions flag) at your own risk.
This tool switches authentication contexts and environment variables. While it aims to be safe, modifying your shell environment and running AI agents with permission overrides can have unintended consequences. The authors are not responsible for any data loss or issues arising from the use of this tool. Always review what the AI is doing.