当前标签 / brew / 总共1篇

替换及重置 Homebrew 默认源「转」

替换默认源

1
2
3
4
5
6
7
# 替换brew.git:
cd "$(brew --repo)"
git remote set-url origin https://mirrors.ustc.edu.cn/brew.git

# 替换homebrew-core.git:
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git

替换Homebrew Bottles源请向下看。

阅读更多