苹果电脑下 mac brew 安装慢主要有两个地方
brew update
慢brew upgrade
慢
brew update
慢
解决这个问题主要是要解决 .github
慢,打开命令行运行以下命令
# 步骤一 cd "$(brew --repo)" git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git # 步骤二 cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git #步骤三 brew update
brew upgrade
慢
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles'>> ~/.bash_profile source ~/.bash_profile
目前尚无回复