0.摘要
主要针对HomeBrew下载速度慢的问题,本文介绍了HomeBrew换源方法。
配置过程中在网上查找到了更加详细的教程,提供给各位读者作进一步学习:
https://musoucrow.github.io/2017/03/29/brew_changing/
1.更换清华源
$ echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles' >> ~/.bash_profile
$ source ~/.bash_profile
$ brew update