Cc Switch Helper
Run different Claude Code providers in different terminals. 支持同时在不同终端窗口用不同 API Key 跑 Claude Code,互不影响
Install: npm install -g cc-switch-helper
Works with Claude Code · 43 GitHub stars
Install
npm install -g cc-switch-helperInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →cc-switch-helper
English | 中文文档
Overcomes the global single-config limitation of the original CC-Switch, enabling per-terminal, per-window binding of different API keys and models — multiple sessions running in parallel without interference.
The native CC-Switch shares one global API config across all terminals — switching providers changes every window at once. This tool provides session-level isolation: one terminal on a personal key, another on a company key, running side by side with no conflicts.
Why?
CC-Switch is a great tool for managing Claude Code providers, but switching providers changes the global config — every running Claude Code instance picks up the change.
ccs takes a different approach: it passes the provider settings directly to each claude process. This means you can run DeepSeek in one terminal and GLM in another, at the same time, without ever touching the global config.
Terminal 1: ccs deep → Claude Code running DeepSeek
Terminal 2: ccs glm → Claude Code running GLM
Terminal 3: ccs zcy → Claude Code running your custom provider
Each window is independent. Switch providers in one — the others stay untouched.
CC-Switch provider configuration panel:
Features
- Session-level config isolation — run different API keys, providers, and models across multiple terminals/windows simultaneously, no interference
- Interactive menu — arrow keys to pick a provider, no need to remember names
- Fuzzy match —
ccs deepmatches "DeepSeek",ccs minimatches "Minimax" - Cross-platform — works on macOS, Linux, and Windows (PowerShell / CMD / Git Bash)
- Zero config — reads directly from your CC-Switch database, compatible with existing key groups and relay configs
- Non-invasive — does not modify CC-Switch source code; CC-Switch upgrades won't affect this tool
Prerequisites
- CC-Switch installed with at least one Claude provider configured
- Claude Code CLI installed
- Node.js ≥ 22.22
Install
npm install -g cc-switch-helper
This registers the ccs command globally.
Prefer living on the edge? Install the unreleased development version straight from GitHub:
npm install -g luckybilly/cc-switch-helper
Usage
ccs # Interactive provider selection
ccs <name> # Fuzzy-match provider by name
ccs <name> -- # Pass extra arguments to claude
ccs --no-skip # Launch without --dangerously-skip-permissions
ccs --list # List all configured providers
ccs --version # Print version
ccs --help # Show help
Examples
# Pick from an interactive menu
ccs
# Launch with a specific provider (case-insensitive fuzzy match)
ccs zcy
ccs DeepSeek
ccs glm
# Pass extra arguments to claude (everything after --)
ccs zcy -- --resume
ccs DeepSeek -- -p "hello world"
# Launch without --dangerously-skip-permissions (review each permission)
ccs zcy --no-skip
# See all your configured providers
ccs --list
Alias to cc
If you prefer the shorter cc command, add an alias to your shell config:
# ~/.zshrc or ~/.bashrc
alias cc=ccs
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.