1.打开网站https://www.ipaddress.com/
查询一下 raw.githubusercontent.com对应的IP 地址
如下图所示:
2.替换系统的host文件
找到host文件
在host文件里加上
199.232.28.133 raw.githubusercontent.com
3.然后执行安装
/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解决方式
猜你喜欢
转载自blog.csdn.net/xt_123456/article/details/105884220
今日推荐
周排行