AI资讯大全AIPPXP.CN搜索 ↗
开发者工具 · 桌面端 · 15.6 万星

CC Switch: One-click switching of API providers for 10+ AI programming tools such as Claude Code and CodexCC Switch:一键切换 Claude Code、Codex 等 10+ AI 编程工具的 API 供应商

Who among those who use Claude Code, Codex, and Gemini CLI at the same time hasn't experienced the agony of spending an entire evening manually editing config.json? CC Switch (156,000 stars, built with Tauri 2) is a cross-platform desktop manager: Switch the API providers for all AI programming CLIs with one click, and centrally manage their MCP servers, Skills, and Prompts – no more manual editing of configuration files.

同时用 Claude Code、Codex、Gemini CLI 的人,谁没经历过手改一晚上 config.json 的痛苦?CC Switch(15.6 万星,Tauri 2 构建)是一个跨平台桌面管理器:一键切换所有 AI 编程 CLI 的 API 供应商,还能集中管理它们的 MCP 服务器、Skills 和 Prompts,不用再手动编辑任何配置文件。

2026-11-20 更新 · 免费
CC Switch:一键切换 Claude Code、Codex 等 10+ AI 编程工具的 API 供应商

The real pain point it solves它解决的真实痛点

Each AI programming CLI vendor's configuration is hidden in a different configuration file: Claude Code changes settings, Codex changes config.toml, and Gemini CLI has yet another set. If you want to switch from the official API to a proxy provider and then switch back to compare the results, you have to manually edit the JSON file over and over again. If you make a mistake with a single comma, the entire CLI won't start.

CC Switch brings all of this together in a single desktop interface: add new providers (enter Base URL + API Key), switch with one click, and the configuration is automatically written to the correct location in the corresponding CLI. Before switching, the original configuration is automatically backed up, allowing for one-click restoration at any time.

The list of supported tools is extensive: Claude Code, Claude Desktop, Codex, Gemini CLI, Grok Build, OpenCode, OpenClaw, Hermes Agent, Pi, MiniMax Code, and over 10 others, essentially covering all currently mainstream AI programming terminals.

中文

每家 AI 编程 CLI 的供应商配置都藏在不同的配置文件里:Claude Code 改 settings、Codex 改 config.toml、Gemini CLI 又是另一套。想从官方 API 切到中转商、再切回来对比效果,就得反复手改 JSON,改错一个逗号整个 CLI 就启动不了。

CC Switch 把这些全部收进一个桌面界面:新增供应商(填 Base URL + API Key)、点一下即可切换,配置自动写入对应 CLI 的正确位置,切换前还会自动备份原配置,随时一键还原。

支持的工具阵容很长:Claude Code、Claude Desktop、Codex、Gemini CLI、Grok Build、OpenCode、OpenClaw、Hermes Agent、Pi、MiniMax Code 等 10+ 款,基本覆盖了目前主流的所有 AI 编程终端。

More than just switching: Unified management of MCPs, Skills, and Prompts不止切换:统一管理 MCP、Skills 与 Prompts

Version v4 extends the management scope to the entire toolchain: MCP servers for all CLIs can be started, stopped, and have their parameters changed within a single interface, eliminating the need to open the configuration directories of each CLI individually to find mcp.json.

Skills and Prompts are also centrally managed: the skill packs installed for Claude Code and the system prompts written for Codex can all be viewed, edited, and synchronised here, avoiding the situation where "you forget where you installed the skills".

The tech stack is Tauri 2 (Rust + Web frontend). The installation package is small, and it has low memory usage. It fully supports Windows, macOS, and Linux. The official repository has been updated to v4.0.36, and updates are very frequent.

中文

v4 版本把管理范围扩展到了整个工具链:所有 CLI 的 MCP 服务器可以在一个界面里启停、改参数,不用挨个打开各家 CLI 的配置目录去找 mcp.json。

Skills 和 Prompts 也一样集中管理:给 Claude Code 装的技能包、给 Codex 写的系统提示词,都能在这里查看、编辑和同步,避免「装过的技能自己都忘了在哪」。

技术栈是 Tauri 2(Rust + Web 前端),安装包小、内存占用低,Windows、macOS、Linux 三平台全支持,官方仓库已迭代到 v4.0.36,更新非常勤。

Download and Get Started下载与上手

Click the button above to download CC-Switch-v4.0.36-Windows-Portable.zip (19.58MB, official Release portable version). After extracting, run CC Switch.exe directly; no installation is required. If you want to install the system version or the macOS/Linux version, go to the official Releases page to select the corresponding installation package.

After opening it for the first time, click "Add Provider", enter the Base URL and Key of the proxy or official API you want to use, then select the target CLI (e.g., Claude Code) from the top toolbar. Click the switch button on the provider card to complete the entry.

After switching, open the corresponding CLI to verify: Run a conversation in Claude Code to confirm that the model is responding normally. If you have manually modified the configuration file before, you can use the backup and restore function of CC Switch to restore it with one click if the switch fails.

中文

点上方按钮下载 CC-Switch-v4.0.36-Windows-Portable.zip(19.58MB,官方 Release 便携版),解压后直接运行 CC Switch.exe,无需安装;想装系统版或 macOS/Linux 版,去官方 Releases 页选对应安装包。

首次打开后点击「添加供应商」,填入你要用的中转商或官方 API 的 Base URL 与 Key,然后在顶部工具栏选择目标 CLI(如 Claude Code),点供应商卡片上的切换按钮即完成写入。

切换完成后打开对应 CLI 验证一下:Claude Code 里执行一次对话确认模型响应正常;如果之前手改过配置文件,切换失败时可用 CC Switch 的备份还原功能一键恢复。

Note小提示

Switching providers only involves rewriting the configuration file and does not affect the CLI itself. The API key is stored locally. Please do not store sensitive keys on shared computers. Used in conjunction with the skills-manager-tool we previously added to the repository, one for managing suppliers and the other for managing skill packages, the infrastructure for the AI programming workbench is complete. The Windows portable version accompanying this article can be found via the download button above.

中文

切换供应商只是改写配置文件,不会动 CLI 本体;API Key 保存在本机,请勿在公用电脑上保存敏感 Key。搭配我们之前入库的 skills-manager-tool 使用,一个管供应商、一个管技能包,AI 编程工作台的基建就齐了。本文配套 Windows 便携版见上方下载按钮。

资源下载 · Download

⬇ Download · 点击下载:CC Switch v4.0.36 Windows 便携版(免安装)

官方 Release · 解压即用免安装 · 另有 macOS/Linux 安装包见官方 Releases 页

0阅读0 条评论

阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。

评论 文明发言,让讨论更有价值

正能量公益广告今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告