# cc-switch-cli を Homebrew, Nix, scoop, winget でインストール

cc-switch-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:cc-switch-cli
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cc-switch-cli>
- **バージョン:** 5.9.3
- **ソース概要:** All-in-one assistant tool for Claude Code, Codex, Gemini, OpenCode and OpenClaw
- **ホームページ:** <https://github.com/SaladDay/cc-switch-cli>
- **リポジトリ:** <https://github.com/SaladDay/cc-switch-cli>
- **上流ドキュメント:** <https://github.com/SaladDay/cc-switch-cli#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/SaladDay/cc-switch-cli/archive/refs/tags/v5.9.3.tar.gz>
- **最終更新:** 2026-07-24T14:56:22Z
- **生成日時:** 2026-07-25T07:20:51+00:00

## 実行可能ファイル

- cc-switch (cli)
- cc-switch (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-25
- マネージャ版: 5.9.3
- マネージャ更新日: 2026-07-24
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/SaladDay/cc-switch-cli
- 検出された最新: v5.9.3 (最新)
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### ソース

- <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>


## セキュリティノート

cc-switch-cli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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:** 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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
