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