Mac Homebrew installation method
1. First create the Homebrew directory
sudo mkdir /usr/local/Homebrew
2. Download brew
If git is not installed, it will automatically prompt to install git
sudo git clone https://mirrors.ustc.edu.cn/brew.git /usr/local/Homebrew
Cloning into '/usr/local/Homebrew'...
remote: Enumerating objects: 184920, done.
remote: Total 184920 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (184920/184920), 46.98