今天尝试用homebrew 安装grafana,一直不成功,于是搜到这篇文章:https://blog.csdn.net/weixin_42132763/article/details/105096760
记录下

cd $(brew --repo)
git remote -v
# origin	https://github.com/Homebrew/brew (fetch)
# origin	https://github.com/Homebrew/brew (push)
git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git
git remote -v
# origin	https://mirrors.aliyun.com/homebrew/brew.git (fetch)
# origin	https://mirrors.aliyun.com/homebrew/brew.git (push)
cd $(brew --repo)/Library/Taps/homebrew/homebrew-core
git remote  -v
# origin	https://github.com/Homebrew/homebrew-core (fetch)
# origin	https://github.com/Homebrew/homebrew-core (push)
git remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git
git remote -v
# origin	https://mirrors.aliyun.com/homebrew/homebrew-core.git (fetch)
# origin	https://mirrors.aliyun.com/homebrew/homebrew-core.git (push)
brew update
# Already up-to-date.

相关文章:

  • 2021-12-05
  • 2021-08-20
  • 2021-11-12
  • 2022-12-23
  • 2021-09-11
  • 2021-09-03
  • 2021-11-22
猜你喜欢
  • 2021-08-02
  • 2022-12-23
  • 2021-04-03
  • 2022-02-20
  • 2022-02-21
  • 2021-12-31
  • 2022-12-23
相关资源
相似解决方案