docs/user-manual/en/1-getting-started/1.2-installation.md
The CLI tools managed by CC Switch (Claude Code, Codex, Gemini CLI) require a Node.js environment.
Recommended version: Node.js 18 LTS or higher
Visit the Node.js official website
Download the LTS version installer
Run the installer and follow the prompts
Verify installation:
node --version
npm --version
# Install with Homebrew
brew install node
# Or use nvm (recommended)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install --lts
# Ubuntu/Debian
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs
# Or use nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install --lts
Option 1: Homebrew (recommended for macOS)
brew install claude-code
Option 2: npm
npm install -g @anthropic-ai/claude-code
Option 1: Homebrew (recommended for macOS)
brew install codex
Option 2: npm
npm install -g @openai/codex
Option 1: Homebrew (recommended for macOS)
brew install gemini-cli
Option 2: npm
npm install -g @google/gemini-cli
CC-Switch-v{version}-Windows.msiCC-Switch-v{version}-Windows-Portable.zipCC-Switch.exe# Add tap
brew tap farion1231/ccswitch
# Install
brew install --cask cc-switch
Update to the latest version:
brew upgrade --cask cc-switch
CC-Switch-v{version}-macOS.zipCC Switch.appCC Switch for macOS is signed and notarized by Apple. You can install and open it directly — no extra steps needed.
Install using an AUR helper:
# Using paru
paru -S cc-switch-bin
# Or using yay
yay -S cc-switch-bin
CC-Switch-v{version}-Linux.debsudo dpkg -i CC-Switch-v{version}-Linux.deb
# If there are dependency issues
sudo apt-get install -f
CC-Switch-v{version}-Linux.AppImagechmod +x CC-Switch-v{version}-Linux.AppImage
./CC-Switch-v{version}-Linux.AppImage
After installation, launch CC Switch:
CC Switch includes built-in auto-update functionality:
You can also manually check for updates in "Settings > About".
CC Switch.app to Trash~/.cc-switch/# Debian/Ubuntu
sudo apt remove cc-switch
# ArchLinux
paru -R cc-switch-bin