How to download homebrew on mac computer

homebrew (package management tool) has many useful functions such as installation, uninstallation, update, viewing, and searching. A simple command can realize package management,

Here I directly use the domestic mirror to download,

Open the terminal on the mac computer and enter:

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

Here he will jump out to select resources, I chose 1 University of Science and Technology of China resources (here it is recommended not to choose Tencent [maybe download failure])

 Enter the computer password to start the download:

After the download is complete, enter the desired internal source again.

After the download is complete, close the terminal and open it again and enter the command brew -v. If the version number pops up, the download is complete.

Guess you like

Origin blog.csdn.net/a3244005396/article/details/128068937