Mac安装Homebrew拒绝访问:443

2023-04-12  本文已影响0人  Mister_Leo

Install Homebrew

官网地址:https://brew.sh
终端输入命令行

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

拒绝访问:443

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

需要修改hosts:

sudo vi /etc/hosts
151.101.76.133 raw.githubusercontent.com

上一篇 下一篇

猜你喜欢

热点阅读