Skip to main content
CC Switch is an open-source, cross-platform desktop application (macOS, Windows, Linux) for managing the configuration of Claude Code, Codex CLI, and OpenCode configurations from a single graphical interface. Instead of manually editing ~/.claude/settings.json or ~/.codex/config.toml manually, you can save your Hostlinku provider profile, fetch an automatic list of models from /v1/models, and switch between models/keys with just one click (or from the system tray icon).

Install CC Switch

Select the installation method based on your operating system: macOS (Homebrew):
Or download the .dmg / .tar.gz file from GitHub Releases. Windows: Download the installer CC-Switch-v*-Windows.msi or the portable .zip version from GitHub Releases. Linux:
For Ubuntu/Debian/Fedora and other distributions, download the .deb, .rpm, or .AppImage package from GitHub Releases.
CC Switch supports the ccswitch://v1/import protocol. After CC Switch is installed, run the following command in the terminal (or open the URL in a browser) to automatically fill out the Hostlinku provider form —all you need to do is paste the sk-… API key into the confirmation dialog. Import the Hostlinku preset for Claude Code:
Import the Hostlinku preset for Codex CLI:

Connect Claude Code via CC Switch


Connect the Codex CLI via the CC Switch

Troubleshooting

Related guides: Claude Code · Codex · DeepSeek Harness · OpenCode.