homebrew安装
2020-04-21 本文已影响0人
含笑州
安装
1.进入https://brew.sh复制命令/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”
进行安装,报错:
curl: (7) Failed to connect to raw.githubusercontent.comport 443: Connection refused
解决
1.查看网址
打开网站https://www.ipaddress.com/
查询一下 raw.githubusercontent.com对应的IP 地址

2.替换系统的host文件
注意:最好复制一份出来在更改



3.然后执行安装出现以下情况表示成功
