Homebrew is a package management tool for macOS that allows you to install, uninstall, update, and search for useful tools through simple commands. It can be used to install missing software packages or tools on macOS by entering the corresponding commands. For software packages or tools that are not pre-installed on macOS, you can use Homebrew for simple and convenient installation. Make sure that Command Line Tools (CLT) for Xcode is installed on your macOS. If it is not installed, copy the command below to the terminal to install it.
xcode-select --install
Installation command for domestic source, which is faster.
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
One-click uninstallation command for Homebrew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh)"
Install Homebrew on Linux
rm Homebrew.sh ; wget https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh ; bash Homebrew.sh
Uninstall
rm HomebrewUninstall.sh ; wget https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh ; bash HomebrewUninstall.sh
Basic usage of Homebrew: Install a specific software package with brew install package_name, uninstall a specific software package with brew uninstall package_name, check Homebrew version with brew -v, update Homebrew version with brew update.