节前公司换了新MAC笔记本,安装brew的时候卡死了。用了这个办法很棒
/usr/bin/ruby -e "$(curl -fsSL cdn.jsdelivr.net)"
cd "$(brew --repo)/Library/Taps/"
mkdir homebrew && cd homebrew
git clone git://mirrors.ustc.edu.cn/homebrew-core.git
cd "$(brew --repo)/Library/Taps/"
cd homebrew
git clone mirrors.ustc.edu.cn