# Install cc-switch-cli with Homebrew, Nix, scoop, winget

All-in-one assistant tool for Claude Code, Codex, Gemini, OpenCode and OpenClaw. Version 5.9.3 via Homebrew; verified 2026-07-24. Also installable with nix: nix profile install nixpkgs#cc-switch.

## Install

```sh
sudo av install brew:cc-switch-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cc-switch-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cc-switch
```

  Evidence: nixpkgs package indexes: pkgs/by-name/cc/cc-switch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install extras/cc-switch
```

  Evidence: Scoop official bucket manifest trees: bucket/cc-switch.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id farion1231.CC-Switch -e
```

  Evidence: Windows Package Manager source index: farion1231.CC-Switch from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:cc-switch-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cc-switch-cli>
- **Version:** 5.9.3
- **Source summary:** All-in-one assistant tool for Claude Code, Codex, Gemini, OpenCode and OpenClaw
- **Homepage:** <https://github.com/SaladDay/cc-switch-cli>
- **Repository:** <https://github.com/SaladDay/cc-switch-cli>
- **Upstream docs:** <https://github.com/SaladDay/cc-switch-cli#readme>
- **License:** MIT
- **Source archive:** <https://github.com/SaladDay/cc-switch-cli/archive/refs/tags/v5.9.3.tar.gz>
- **Last updated:** 2026-07-24T14:56:22Z
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- cc-switch (cli)
- cc-switch (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 5.9.3
- Package-manager updated: 2026-07-24
- Local data: ok
- Upstream repository: https://github.com/SaladDay/cc-switch-cli
- Upstream latest detected: v5.9.3 (current)
## Project history and usage

CC-Switch CLI is a Rust TUI/CLI manager for switching and managing provider, account, MCP, prompt, skill, proxy, and session configuration across AI coding assistants.

### Project history

The official README describes cc-switch-cli as a CLI fork of CC-Switch, crediting the original architecture and core functionality to farion1231/cc-switch while adding command-line and TUI workflows.

### Adoption history

The supplied package facts show Homebrew, Nix, Scoop, and winget packaging. The README also documents direct release tarballs/zips for macOS, Linux, and Windows plus Homebrew installation.

### How it is used

Typical commands list and switch providers, manage Codex/Claude/Gemini/OpenCode/Hermes/OpenClaw configuration, inspect OAuth accounts, sync MCP servers, review sessions, manage skills and prompts, and enable local proxy routes.

### Why package nerds care

It is a package-manager-friendly wrapper around the messy local state of multiple AI CLIs. For package nerds, the interesting bit is that most persistent state is centralized in ~/.cc-switch, with live files synced out to each target application only when needed.

### Related projects

- CC-Switch, Claude Code, Codex, Gemini CLI, OpenCode, Hermes, and OpenClaw.

### Sources

- <https://api.github.com/repos/SaladDay/cc-switch-cli>
- <https://github.com/SaladDay/cc-switch-cli>
- <https://github.com/SaladDay/cc-switch-cli#readme>
- <https://formulae.brew.sh/api/formula/cc-switch-cli.json>


## Security Notes

No matching local secret-handling manifest was found for cc-switch-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.cc-switch/cc-switch.db, ~/.cc-switch/settings.json, ~/.cc-switch/config.json, $CC_SWITCH_CONFIG_DIR/cc-switch.db, $CC_SWITCH_CONFIG_DIR/settings.json, $CC_SWITCH_CONFIG_DIR/config.json

## Credential files

- Unix: ~/.cc-switch/cc-switch.db, $CC_SWITCH_CONFIG_DIR/cc-switch.db
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cc-switch-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - cc-switch: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/cc/cc-switch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - extras/cc-switch: installed executable or alias match | Scoop official bucket manifest trees: bucket/cc-switch.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - farion1231.CC-Switch: installed executable or alias match | Windows Package Manager source index: farion1231.CC-Switch from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [MCP tool packages](https://www.automicvault.com/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://www.automicvault.com/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [claude-squad](https://www.automicvault.com/pkg/brew/claude-squad/) - Shares av.db curated category or tags: ai, claude-code, cli, codex, orchestration.
- [advai-cli](https://www.automicvault.com/pkg/brew/advai-cli/) - Shares av.db curated category or tags: ai, cli, orchestration.
- [aoe](https://www.automicvault.com/pkg/brew/aoe/) - Shares av.db curated category or tags: ai, cli, orchestration.
- [cc-connect](https://www.automicvault.com/pkg/brew/cc-connect/) - Shares av.db curated category or tags: ai, cli, orchestration.
- [cliproxyapi](https://www.automicvault.com/pkg/brew/cliproxyapi/) - Shares av.db curated category or tags: ai, cli, codex, gemini.
- [dstack](https://www.automicvault.com/pkg/brew/dstack/) - Shares av.db curated category or tags: ai, cli, orchestration.
- [fabric-ai](https://www.automicvault.com/pkg/brew/fabric-ai/) - Shares av.db curated category or tags: ai, cli, orchestration.
- [gastown](https://www.automicvault.com/pkg/brew/gastown/) - Shares av.db curated category or tags: ai, cli, orchestration.
- [cc-viewer](https://www.automicvault.com/pkg/npm/cc-viewer/) - Local package facts share a topical domain. Shared terms: ai, claude, claude-code, cli, code.

## Combined YAML source

View the package source record on GitHub. [combined/cc-switch-cli.yml](https://github.com/automic-vault/db/blob/main/combined/cc-switch-cli.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
