From ec83e2ca448e20c26ab03722108f7b4768e3360e Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 12 Oct 2025 22:38:47 +0800 Subject: [PATCH] docs: add Homebrew installation instructions --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7d5c910..4b89a6a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Claude Code & Codex 供应商切换器 -[![Version](https://img.shields.io/badge/version-3.4.0-blue.svg)](https://github.com/farion1231/cc-switch/releases) +[![Version](https://img.shields.io/badge/version-3.5.0-blue.svg)](https://github.com/farion1231/cc-switch/releases) [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/farion1231/cc-switch/releases) [![Built with Tauri](https://img.shields.io/badge/built%20with-Tauri%202-orange.svg)](https://tauri.app/) @@ -50,6 +50,20 @@ ### macOS 用户 +**方式一:通过 Homebrew 安装(推荐)** + +```bash +brew tap farion1231/ccswitch +brew install --cask cc-switch +``` + +更新: +```bash +brew upgrade --cask cc-switch +``` + +**方式二:手动下载** + 从 [Releases](../../releases) 页面下载 `CC-Switch-macOS.zip` 解压使用。 > **注意**:由于作者没有苹果开发者账号,首次打开可能出现"未知开发者"警告,请先关闭,然后前往"系统设置" → "隐私与安全性" → 点击"仍要打开",之后便可以正常打开