Skip to main content
CC Switch is a free desktop app built to manage and switch configurations across AI coding tools. Paired with AIHubMix, you can move between Claude Code, Codex, Gemini CLI, OpenCode, and OpenClaw without ever touching a config file, environment variable, or API setting by hand. For developers juggling multiple models and CLI workflows, CC Switch cuts configuration overhead significantly — making onboarding, switching, and day-to-day use across different tools feel unified and effortless.
Image

1. What Is CC Switch?

CC Switch (project: github.com/farion1231/cc-switch) is an open-source, cross-platform desktop app developed by Jason Young (farion1231). It works as a unified manager for AI coding CLI tools. If you use more than one AI coding tool, these frustrations probably sound familiar:
  • Switching providers means manually editing ~/.claude/settings.json or resetting environment variables every time
  • Configs don’t follow you across machines — every new device is a fresh start
  • WSL and Windows each need their own config setup, and the maintenance burden compounds over time
CC Switch was designed to fix all of this. It’s a lightweight app that lives in your system tray. A few clicks is all it takes to switch tools or providers — no code, no config files involved. Built on Tauri 2 + Rust, the installer is small, it runs on Windows, macOS, and Linux, and the persistent system tray entry keeps multi-provider management quick and intuitive. 5 Supported CLI Tools:
CLI (Command Line Interface) tools are programs you operate through text commands rather than a graphical interface — common in development environments. CC Switch can manage the configurations for all of the tools below from one place.
ToolDeveloperDescription
Claude CodeAnthropicAn AI coding assistant powered by Claude — chat, write code, and fix bugs directly in your terminal
CodexOpenAIOpenAI’s code generation tool with autocomplete and generation across multiple languages
Gemini CLIGoogleThe command-line interface for Google’s Gemini model, great for developers in the Google ecosystem
OpenCodeOpen SourceAn open-source AI coding CLI that connects to multiple AI models
OpenClawOpen SourceAn open-source AI CLI with flexible provider switching

2. Core Features

2.1 Provider Management

CC Switch ships with 50+ preset configurations covering major AI API providers — Anthropic, OpenRouter, AIHubMix, AWS Bedrock, and more. You can:
  • Create multiple provider configurations per CLI tool
  • Drag to reorder, keeping your most-used providers at the top
  • Switch the active provider in one click, no CLI restart required
  • Use Shared Config Snippets to carry over plugin data and custom settings when switching providers — a new API doesn’t mean losing everything you’ve configured

2.2 Unified MCP Server Management

If you run MCP (Model Context Protocol) servers across multiple CLI tools, CC Switch offers a unified management panel with cross-app config sync. No more duplicating the same entries in each tool’s config file.

2.3 Skills Installation

CC Switch supports installing skill packages from GitHub repositories or ZIP files, mounted via symlinks — easy to share across a team and straightforward to version.

2.4 Usage Dashboard

A built-in dashboard to track:
  • Daily and weekly API spend
  • Request count and token usage
  • Trend visualizations over time
If you’re connected to multiple providers, this gives you a clear view of what each one is actually costing you.

2.5 Cloud Sync

Sync your configurations to:
  • Dropbox
  • OneDrive
  • iCloud (macOS)
  • WebDAV (self-hosted)
No more manually exporting and importing configs across devices.

3. Installation

3.1 Windows

Option 1: Winget (Recommended)
winget install --id=farion1231.CC-Switch -e
Option 2: Manual Download the latest .msi installer or portable .zip from the GitHub Releases page. Extract and run. Requires: Windows 10 or later

3.2 macOS

Option 1: Homebrew (Recommended)
brew tap farion1231/ccswitch
brew install --cask cc-switch
Option 2: Manual Download the notarized .dmg from Releases, mount it, and drag CC Switch into Applications. Requires: macOS 12 (Monterey) or later

3.3 Linux

Pick the package format for your distro:
# Debian / Ubuntu
sudo dpkg -i cc-switch_x.x.x_amd64.deb

# Fedora / RHEL
sudo rpm -i cc-switch-x.x.x.x86_64.rpm

# Universal (AppImage)
chmod +x cc-switch_x.x.x_amd64.AppImage
./cc-switch_x.x.x_amd64.AppImage

# Arch Linux (AUR)
paru -S cc-switch-bin
Requires: Ubuntu 22.04+ / Debian 11+ / Fedora 34+

3.4 WSL Integration (Windows Users)

CC Switch has dedicated WSL support. Install it on the Windows side, and you can manage Claude Code and other CLI tools running inside WSL directly — no separate installation in WSL needed. Once configured, CC Switch bridges network requests between WSL and Windows through a local proxy for seamless unified management.

4. Connecting Claude Code to AIHubMix

Why AIHubMix?

AIHubMix is operated by AIHubMix, LLC in the United States — an officially authorized, compliant model aggregation platform with partnerships from Microsoft Azure, AWS, GCP, Alibaba Cloud, Baidu Cloud, and other major inference providers. All services run on clustered infrastructure on Google Cloud US, delivering high-concurrency, stable, and reliable AI model APIs trusted by developers and enterprises worldwide. For Claude Code users, routing through AIHubMix meaningfully reduces costs while keeping the flexibility you’d expect from a platform like OpenRouter.

4.1 Adding AIHubMix as a Provider

Open CC Switch and navigate to the Provider management page for Claude Code:
  1. Click ”+ Add Provider” in the top-right corner Image
  2. Select “AiHubMix” from the preset list and click the link to get your API key Image
  3. Paste your key into the “API Key” field Image
  4. Copy the model ID you want to use (e.g. claude-opus-4-7), then click “Add” to save Image
  5. Back on the home screen, select “AiHubMix” from the provider list and click “Activate” Image

4.2 Verify the Connection

Run Claude Code in your terminal and send a simple prompt. A normal response confirms you’re successfully connected through AIHubMix. Image
Tip: Inside Claude Code, type /status to check your active model ID, or /models to switch to another configured model.

5. Using with VSCode

Claude Code has an official VSCode extension, and CC Switch is fully compatible with it.

5.1 Install the Claude Code Extension

Search for “Claude Code” in the VSCode Extensions Marketplace and install it.

5.2 Using with CC Switch

Image

5.3 Multiple Workspaces

If you have several VSCode workspaces open at once, they all share the same CC Switch configuration. Switch providers once — it applies everywhere.

6. Other CLI Tools + AIHubMix

CC Switch isn’t just for Claude Code. It has full support for four other mainstream AI coding CLI tools as well.

6.1 Codex + AIHubMix

Codex CLI users can manage their provider configuration separately in CC Switch and connect it to AIHubMix. For the full Codex setup guide, see: https://docs.aihubmix.com/en/api/Codex-CLI Image
Example: Configure your AIHubMix API key in CC Switch, and you can use deepseek-v4-flash — or any other supported model — directly inside Codex.
Image

6.2 Gemini CLI + AIHubMix

Google Gemini CLI configuration tends to be spread across multiple places. CC Switch brings it all into a single interface, with quick switching between multiple Google accounts or Gemini API keys — handy for teams moving between projects frequently. Install Gemini CLI Make sure Node.js ≥ 18 is installed. If not:
brew install node
Then install Gemini CLI globally:
npm install -g @google/gemini-cli
Setup
  1. Open CC Switch and click Add Provider
  2. Manually add AiHubMix
  3. API Key: your sk- prefixed key (get one at aihubmix.com/token)
  4. Base URL: https://aihubmix.com/gemini
Image Image

6.3 OpenCode + AIHubMix

OpenCode is an open-source AI coding CLI that supports multiple providers. CC Switch has built-in support for OpenCode and can manage its config files directly — no manual TOML or JSON editing required. For the full setup guide, see: https://docs.aihubmix.com/en/api/Opencode Setup
  1. Open CC Switch and click Add Provider
  2. Select AiHubMix
  3. API Key: your sk- prefixed key (get one at aihubmix.com/token)
Image Image Then run in your terminal:
opencode
Image

6.4 OpenClaw + AIHubMix

OpenClaw is an open-source CLI compatible with the OpenAI API, suited for advanced users who need custom model routing. Full setup guide: https://docs.aihubmix.com/en/api/OpenClaw How CC Switch and OpenClaw work together:
  1. Create a dedicated provider group for OpenClaw in CC Switch
  2. Set AIHubMix, OpenRouter, or other aggregation platforms as OpenClaw’s upstream
  3. Use CC Switch’s hot-switch to jump between upstreams instantly
This is particularly useful when you want to compare response quality across providers — switch in CC Switch, and OpenClaw needs no changes on its end.

7. CC Switch vs. Claude Code Router

Claude Code Router is another commonly mentioned tool. Here’s how they compare:
CC SwitchClaude Code Router
TypeDesktop GUI appCLI / config tool
Supported tools5 (Claude Code, Codex, Gemini, OpenCode, OpenClaw)Primarily Claude Code
Provider presets50+Manual configuration
Local proxyBuilt-in, hot-switching + failoverManual configuration
MCP managementUnified UINot supported
WSL supportDedicated supportLimited
Cloud syncDropbox / iCloud / WebDAVNot supported
Usage dashboardBuilt-inNot available
Learning curveLow (GUI)Medium (config files)
Best forMulti-tool users, efficiency-focused devsLightweight needs, CLI purists
Bottom line: If you only use Claude Code and prefer the command line, Claude Code Router does the job. If you’re working across multiple AI coding tools or want a visual, centralized management interface, CC Switch is the stronger choice.

8. FAQ

Q: Is CC Switch free? Yes, completely. It’s MIT licensed and open source on GitHub. Any API costs depend on the provider you connect to. Q: How do I make CC Switch work inside WSL? CC Switch runs on the Windows side and bridges WSL requests through a local proxy. Point WSL’s proxy settings to CC Switch’s local listening port — you can find the exact port in CC Switch’s proxy settings page. Q: Does Claude Code need to restart after switching providers? No. Hot-switching takes effect immediately. Your current terminal session keeps running without interruption. Q: Where is my data stored? The local database lives at ~/.cc-switch/cc-switch.db, with settings at ~/.cc-switch/settings.json. CC Switch automatically keeps the 10 most recent backups. Q: Can I share a provider configuration with my team via a link? Yes. CC Switch supports Deep Links (ccswitch:// protocol), so teammates can import a shared provider configuration by clicking a single URL — useful for standardizing API access across a team. Q: Does CC Switch support AWS Bedrock? Yes — there’s a built-in Bedrock preset with Cross-Region Inference support, making it a solid option for enterprise users accessing Claude through Bedrock.

Closing

CC Switch takes the AI coding tool management that used to be scattered across a dozen config files and pulls it into one lightweight desktop app. Whether you’re deep into Claude Code or splitting time between Codex, Gemini CLI, and others, it keeps your workflow clean. The latest release v3.12.0 is stable and ready. Head to github.com/farion1231/cc-switch for full documentation and release notes. Image Last updated: April 28, 2026