/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 在终端直接执行上面命令,安装时需要输入密码。 参考:Mac 的 brew解决方法