From c4f8202c085b931af265740975b0bd834e4e89bc Mon Sep 17 00:00:00 2001 From: mysqto Date: Wed, 8 Jul 2026 17:35:16 +0800 Subject: [PATCH] docs: document the required 'brew trust ' step for install --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5f16095..b663652 100644 --- a/README.md +++ b/README.md @@ -41,11 +41,16 @@ ccswitch list # every saved profile (* = active) ```sh brew tap mysqto/ccswitch https://github.com/mysqto/ccswitch +brew trust mysqto/ccswitch # newer Homebrew requires trusting a third-party tap brew install ccswitch # formula (recommended) — also installs shell completions # or: brew install --cask ccswitch # cask — installs the binary only (no completions) ``` +> Recent Homebrew refuses to load a cask/formula from an untrusted tap until you +> run `brew trust ` (a one-time consent per tap). If you skip it you'll see +> "Refusing to load … from untrusted tap"; `brew trust mysqto/ccswitch` fixes it. + The tap ships **both** a formula and a cask, auto-regenerated with real checksums on each release. Prefer `brew install ccswitch` (the **formula**): it runs `ccswitch completions {bash,zsh,fish}` during install and drops each script