banner
老孙

老孙博客

资深网民孙先生
mastodon
email

One-click installation of Homebrew on macOS.

Homebrew is a package management tool for macOS that allows you to install, uninstall, update, and search for various useful tools through simple commands. It can be used to install missing software packages or tools that are not pre-installed on macOS. image Make sure that Command Line Tools (CLT) for Xcode is installed on your macOS. If it is not installed, copy the following command to the terminal to install it.

xcode-select --install

For faster installation in China, use the following command.

/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)"

Installation of Homebrew on Linux.

rm Homebrew.sh ; wget https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh ; bash Homebrew.sh

Uninstallation.

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: brew install package_name Uninstall a specific software package: brew uninstall package_name Check Homebrew version: brew -v Update Homebrew version: brew update

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.