使用ruby脚本安装完成homebrew之后, 需要配置三个源以及添加一些环境变量

	1. export HOMEBREW_NO_AUTO_UPDATE=true # 不自动检查更新
	2. cd $(brew --repo)/Library/到执行的homebrew目录下, git remote set-url origin git://mirrors.ustc.edu.cn/brew.git # 修改默认源
	3. cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin git://mirrors.ustc.edu.cn/homebrew-core.git    # 修改core源
	
	4. echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bashrc

相关文章:

  • 2022-12-23
  • 2021-09-06
  • 2022-12-23
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-28
  • 2021-09-20
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
相关资源
相似解决方案