0%

mac brew 特别慢 解决方案

mac brew 特别慢 解决方案

进入Homebrew目录,并在Terminal中输入命令 git remote -v 查看当前的源

替换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