Mac installation Homebrew solution

What can Homebrew do?

Use Homebrew to install things that Apple (or your Linux system) doesn't come pre-installed but you need.

brew install wget

Homebrew will install packages into separate directories and symlink their files to /usr/local

$ cd /usr/local
$ find Cellar
Cellar/wget/1.16.1
Cellar/wget/1.16.1/bin/wget
Cellar/wget/1.16.1/share/man/man1/wget.1

$ ls -l bin
bin/wget -> ../Cellar/wget/1.16.1/bin/wget

Official website download

Terminal input command:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

stabilization program

The official website download network is unstable, the following address is a stable solution
Input command: /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
Please enter according to the serial number, the process needs to wait

Guess you like

Origin blog.csdn.net/A_yonga/article/details/127984519