-
首先是要安装 Xcode command line tool :
sudo xcode-select --install
-
然后就可以安装了(这里是参考了mac安装homebrew失败怎么办?,一般的方法大概率会出现网络问题):
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
首先是要安装 Xcode command line tool :
sudo xcode-select --install
然后就可以安装了(这里是参考了mac安装homebrew失败怎么办?,一般的方法大概率会出现网络问题):
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"