现在国内安装brew都会出现一些问题,连接不上
Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in
Bash. Please migrate to the following command:
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
不过看到一个大佬放上一条命令,直接解决了这一系列问题,可以下载。很感谢这位大佬,不多说直接上命令:
自动脚本(全部国内地址)(在Mac os终端中复制粘贴回车下面这句话)
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
感谢大佬!!!亲测,非常快速!!!!!!!
相关链接https://www.cnblogs.com/liyihua/p/12753163.html