CC-Switch CLI

github.com

Terminal version of CC-Switch: switch providers and configs for Claude Code, Codex and Gemini CLI.

Pricing
Open source
Published
Nov 19, 2026

Next steps

  • CC Switch

    Both tools are listed under AI Code Assistant, AI Developer Tools, codex, and claude-code.

  • toolshed

    Both tools are listed under AI Code Assistant, AI Developer Tools, codex, and claude-code.

  • Claude Squad

    Both tools are listed under AI Code Assistant, AI Developer Tools, codex, and claude-code.

  • CodeGraph
  • Agent Skills (Addy Osmani)
  • Pi

What it does

CC-Switch CLI is a cross-platform command-line fork of CC-Switch. From one interactive TUI or scriptable commands it manages provider and configuration settings for Claude Code, Codex, Gemini CLI, OpenCode, Hermes, OpenClaw and Pi, so you can switch API providers without editing config files by hand. Handy on servers and over SSH; WebDAV sync stays compatible with the desktop CC-Switch. MIT.

Use cases

  • Switch Claude Code or Codex between API providers from the terminal without hand-editing config files
  • Manage provider settings for several coding CLIs on a remote server over SSH where a GUI is unavailable
  • Script provider changes in setup scripts and sync settings with the desktop CC-Switch via WebDAV

Frequently asked questions

What is CC-Switch CLI?
It is a command-line fork of CC-Switch that manages configuration for Claude Code, Codex, Gemini CLI, OpenCode and other coding agents from an interactive TUI or scriptable commands.
How is it different from CC-Switch?
CC-Switch is a desktop app; this fork works in the terminal, which suits servers and scripts. Its WebDAV sync is compatible with the upstream project.
Which platforms does it run on?
The project describes itself as cross-platform.
Is it free?
Yes, it is open source under the MIT license.
Log in to join the discussion