macOs 安装过homebrew,但是再次执行 brew install 安装时候一直卡在 homebrew updating....

441 阅读1分钟

问题原因:brew 的源更换了 替换brew.git: cd "$(brew --repo)" git remote set-url origin mirrors.ustc.edu.cn/brew.git

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