MAC- mounting kit management tools Homebrew

Foreword

Homebrew is a package management tool under Mac OS, have to install, uninstall, update, view, search, and many other useful features.

Homebrew Installation

1, Homebrew official website for installation instructions, the official website address: https://brew.sh/

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

2, the terminal mounting Homebrew

(1) open a terminal -> 1 acquired input step instruction

(2) Click return-> Enter the password (the password does not display the console, security mac, enter press Return)

(3) Verify successful installation

Input command: brew doctor, FIG display the red box installation is successful Statement

Common commands

1, the installation package

$ brew install <packageName>

Example: mounting python, command input terminal "brew install python" to

2, uninstall package

$ brew uninstall <packageName>

3, review the list of packages installed

$ brew list

4, see the package information

$ brew info <packageName> 

5, see the Homebrew Help

$ brew -h

 

Guess you like

Origin www.cnblogs.com/mini-monkey/p/11963031.html
Recommended