Mac installed Homebrew

Domestic installation (available) :

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
Copy the code

The above method from: zhuanlan.zhihu.com/p/111014448

If the above method is adopted, you do not need to look at the official method below. The official method may require scaling walls or permissions after the installation is complete.

Official Installation Method 1:

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

After running:

/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
Copy the code

Browser to access raw.githubusercontent.com/Homebrew/in… Also can not visit, need to climb over the wall, temporarily do not have the condition of climb over the wall, can only change the way.

Official Installation Method 2 (untested)

Reference: docs. Brew. Sh/Installatio…