1.替换HomeBrew默认源
cd "$(brew --repo)"
git remote set-url origin git://mirrors.ustc.edu.cn/brew.git
2.替换HomeBrew Bottles源
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile
source ~/.bash_profile
更换完之后brew就变成飞速的了
本文介绍如何通过更改HomeBrew的默认源和Bottles源来显著提升其下载速度。具体步骤包括替换源地址并更新配置文件。
3万+

被折叠的 条评论
为什么被折叠?



