From 2a2add463b7b8d5f57897317ca35a4cc3888ef92 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Sun, 9 Jun 2024 15:37:03 +0800 Subject: [PATCH] Add installation method by `brew` --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d85ec82..7dd572e 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ 如果你想要通过 `scoop`,`brew`,`yay` 等系统包管理工具来安装和更新`chsrc`,请帮助我们达到下面的要求。 - [ ] 缺乏 `AUR` 维护者 -- [ ] 缺乏 `homebrew` 维护者 -- [ ] `scoop` 维护者 +- [x] `homebrew` 维护者 +- [ ] 缺乏 `scoop` 维护者 - [x] `scoop` 要求 GitHub star 数量超过 **500** 以及/或 **150**个 fork - [x] `homebrew` 要求 GitHub 仓库 **>=30 forks**, **>=30 watchers** or **>=75 stars** - [ ] `scoop` 要求英文输出 @@ -73,6 +73,14 @@ curl -L https://gitee.com/RubyMetric/chsrc/releases/download/latest/chsrc-armv7- ### macOS +可以通过 `homebrew` 安装,感谢 @Aaron-212 与 @chenrui333 + +```bash +brew install chsrc +``` + +或手动下载二进制文件 + ```bash # M1/aarch64 curl -L https://gitee.com/RubyMetric/chsrc/releases/download/latest/chsrc-aarch64-macos -o chsrc; chmod +x ./chsrc