brew更换阿里镜像
作者:
小星星吃KFC | 来源:发表于
2020-03-09 16:16 被阅读0次# 替换brew.git:
cd "$(brew --repo)"
git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git
# 替换homebrew-core.git:
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git
# 应用生效
brew update -v
# 替换homebrew-bottles(最好保存到配置文件):
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles
本文标题:brew更换阿里镜像
本文链接:https://www.haomeiwen.com/subject/twmpdhtx.html
网友评论