We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
平时在使用homebrew安装软件的时候,第一步总是要先执行 brew update,然后就卡住了...
brew update
下面的方法,可以解决这个问题:
cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
网上搜到的几个 brew 源:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
说明
平时在使用homebrew安装软件的时候,第一步总是要先执行
brew update
,然后就卡住了...下面的方法,可以解决这个问题:
步骤1: 替换 brew.git 源
步骤2:替换 homebrew-core.git 源
步骤3: 执行更新
附录
网上搜到的几个 brew 源:
The text was updated successfully, but these errors were encountered: