-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
Description
说明
平时在使用homebrew安装软件的时候,第一步总是要先执行 brew update,然后就卡住了...
下面的方法,可以解决这个问题:
步骤1: 替换 brew.git 源
cd "$(brew --repo)"
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git步骤2:替换 homebrew-core.git 源
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git步骤3: 执行更新
brew update附录
网上搜到的几个 brew 源: