Install Homebrew:
# For general users
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# For users in Mainland China
## Option 1
/bin/bash -c "$(curl -fsSL https://mirror.ghproxy.com/raw.githubusercontent.com/lzwme/homebrew-cn/HEAD/install.sh)"
## Option 2
/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"
Tap this repository to install individual formulae and casks:
brew tap tombener/tap
brew install <formula>
brew install --cask <cask>