Mac package management tool Brew installation

1. Open the terminal Terminal

2. Execute the following command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then, the terminal will prompt to enter the current user password, and Nanxin can wait for the installation to end.

3. After the installation is successful, execute brew doctor to check the installation status

4. Use the specified command to install the software

brew list #View installed software

brew cask list #View installed software

brew search xxx #Search whether a software has an installation package

brew cask search xxx #Search whether a software has an installation package

brew install xxx #Install a software

brew cask install xxx #Install a software

brew uninstall xxx #Uninstall a software

brew cask uninstall xxx #Uninstall a software

brew is generally a command-line tool for installation and management. brew cask generally installs and manages software for daily use.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325773837&siteId=291194637