安装 

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 

中科大镜像

echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.profile

 

升级

brew update; brew upgrade;

 

完全卸载

brew uninstall --force

 

清理

brew cleanup

 

检查

brew doctor

 

提速

cd ~/Library/Caches/Homebrew/
找到.incomplete的文件,然后axel下载
最后brew install

 

修改地址

brew edit softname,如 brew edit emacs
修改其中的url,保存退出

 

傻瓜式清理

brew update; brew upgrade; brew prune; brew cleanup

 

相关文章:

  • 2021-07-30
  • 2021-09-20
  • 2021-08-20
  • 2021-07-19
  • 2021-07-05
  • 2021-10-25
  • 2021-05-31
  • 2021-10-26
猜你喜欢
  • 2022-12-23
  • 2022-02-07
  • 2022-03-03
  • 2022-02-13
  • 2021-12-30
相关资源
相似解决方案