解决brew 更新慢的问题
cd "$(brew --repo)"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
git checkout master
git pull origin master
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
git checkout master
git pull origin master
brew update
本文介绍了一种通过修改Homebrew源地址来解决brew更新速度慢的方法,适用于需要快速更新软件包的用户。
5799

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



