Home›Developer Center›cc-switch Windows

cc-switch Windows

API DocumentationOpenAI ChatGPT APIAnthropic (Claude) APIGoogle Gemini APIGoogle Search APIGoogle News APIOpenRouter APIAPI Pricing
CLI & Agent Guidescc-switch macOScc-switch Windowscc-switch LinuxOpenCode macOSOpenCode WindowsOpenCode LinuxOpenClaw macOSOpenClaw WindowsOpenClaw LinuxHermes Agent macOSHermes Agent WindowsHermes Agent LinuxClaude Code CLI macOSClaude Code CLI WindowsClaude Code CLI LinuxCodex CLI macOSCodex CLI WindowsCodex CLI Linux
MYAI168 API & MCPMYAI168 MCP CLIMYAI168 MCP Web & App
No matching questions on this page.Search the whole site
Installation Overview (Windows)

cc-switch (CC Switch) Installation Guide — Windows

Goal of this guide: install cc-switch (a GUI manager for switching API configurations across multiple tools) on Windows, then use it to configure Claude Code, Codex, and other tools to connect to MYAI168.

cc-switch is a GUI app (built with Tauri 2); just download the installer from the official source.

Before You Start

  • Windows 10 / 11 (64-bit).
  • Official sources: GitHub Releases https://github.com/farion1231/cc-switch/releases, official site ccswitch.io
  • Official releases mainly provide .msi installers (Windows Installer; x64 and arm64) and a portable .zip (no install needed). Either works.
1. Install
  1. Download the Windows installer from the Releases page (CC-Switch-*-Windows.msi; on a typical PC pick the file WITHOUT "arm64" in its name). If you prefer not to install, download the Portable .zip and run it after unzipping.
  2. Double-click to run the installer.

★ Common: SmartScreen blocks it ★

Because this is not big-vendor-signed software, Windows may show a blue window: "Windows protected your PC". This is normal (it is not a virus). What to do: click "More info" → then "Run anyway".

  1. Follow the wizard, clicking "Next" all the way through.
  2. After installation, open "CC Switch" from the Start menu.
2. First Launch

After opening "CC Switch":

  • The window opens on the "Claude Code" panel by default.
  • A CC Switch icon appears in the system tray (bottom right).
  • The switcher at the top left of the window lists the manageable tools: Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes Agent.
  • If you have already used these tools, cc-switch usually auto-imports the existing configurations.

Suggested settings (optional): go to Settings → General and enable start-on-boot, minimize-to-tray, etc. as needed.

3. What Next

cc-switch is only a "configuration manager" — it does not include the AI tools themselves. Install Claude Code / Codex and the other CLIs first, then use cc-switch to configure them to connect to MYAI168.

For installing each tool and setting up MYAI168, see the corresponding Developer Center pages:

  • Claude Code → see the "Claude Code CLI Windows" page
  • Codex → see the "Codex CLI Windows" page
  • Hermes → see the "Hermes Agent Windows" page (note: cc-switch writes for Hermes may silently fail; manual setup is recommended for Hermes)

Common Settings (when adding a provider on each tool tab in cc-switch)

  • Claude Code → endpoint https://www.myai168.com/en/api/anthropic (without /v1), model claude-opus-4-8, key supplied via either apiKeyHelper or ANTHROPIC_API_KEY (see the Claude Code page).
  • Codex → endpoint https://www.myai168.com/en/api/openai/v1, model gpt-5.6-sol.

If you only use Claude Desktop (GUI chat, no terminal), the Claude Desktop tab in cc-switch can be configured directly and supports "one-click import of providers from Claude Code".

4. Troubleshooting and Maintenance
  • SmartScreen blocks with "Windows protected your PC" → click "More info" → "Run anyway". This is the normal prompt for unsigned software.
  • "No official website configured / No Routing Support" label → normal; it just means you are using a custom endpoint (MYAI168) and does not affect usage.
  • cc-switch wrote the settings but they did not take effect (some tools) → cc-switch writes for Hermes may silently fail; use manual setup for Hermes. Claude Code / Codex usually write fine.
  • Update cc-switch → download the new .msi and reinstall (over the old version); for the Portable version just switch to the new .zip.
  • Back up the settings → cc-switch settings live in %USERPROFILE%\.cc-switch\; before a major upgrade you can manually back up %USERPROFILE%\.cc-switch\cc-switch.db.

Official

  • https://github.com/farion1231/cc-switch
  • https://github.com/farion1231/cc-switch/releases
‹ Previous page: cc-switch macOSNext page: cc-switch Linux ›
↑
Question link copied.

Other FAQ pages

API Documentation

  • OpenAI ChatGPT API
  • Anthropic (Claude) API
  • Google Gemini API
  • Google Search API
  • Google News API
  • OpenRouter API
  • API Pricing

CLI & Agent Guides

  • cc-switch macOS
  • cc-switch Linux
  • OpenCode macOS
  • OpenCode Windows
  • OpenCode Linux
  • OpenClaw macOS
  • OpenClaw Windows
  • OpenClaw Linux
  • Hermes Agent macOS
  • Hermes Agent Windows
  • Hermes Agent Linux
  • Claude Code CLI macOS
  • Claude Code CLI Windows
  • Claude Code CLI Linux
  • Codex CLI macOS
  • Codex CLI Windows
  • Codex CLI Linux

MYAI168 API & MCP

  • MYAI168 MCP CLI
  • MYAI168 MCP Web & App