1. 直接用指令安装
失败
2. 根据该教程安装,通过源代码安装
https://www.jianshu.com/p/dea776e7effb
在执行的过程中出现了Fatal Error,并且非常慢
3. 考虑换源
https://www.jianshu.com/p/766c047f625f
这篇换源的教程有问题,自行修改教程
依然报错,报错原因是
Error: Failure while executing: git clone https://github.com/Homebrew/homebrew-core /usr/local/Library/Taps/homebrew/homebrew-core --config core.autocrlf=false --depth=1 -q
Error: Failure while executing: /usr/local/bin/brew tap homebrew/core -q
4. 解决报错的问题
https://blog.csdn.net/auccy/article/details/54620454
按照教程解决后依然失败