1、终端安装命令:
java
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
执行后,没有安装git,会先安装,安装后再执行一下命令。

2、根据中文选择源安装





3、相关命令
查看版本号:
brew -v
卸载:遇到安装失败需要先卸载再重新选择别的方式安装
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh)"