One, official website installation

The website links

github

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Copy the code
  • Copy in terminal and enter the above command to execute

Two, mirror installation

Domestic mirror code cloud address

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