Source: http://blog.csdn.net/jt521xlg/article/details/47129869
Comments: Homebrew
is a commonly used software installation tool for mac systems. The most commonly used commands are as follows:
Installation (requires Ruby):
ruby -e "$( curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"Search
: brew search mysql
Query: brew info mysql Mainly see specific information, such as current version, dependencies, precautions after installation, etc.
Update: brew update This updates Homebrew itself and makes sense for the next two actions -
check for outdated (if there is a new version): brew outdated This time lists all installed software that can be upgraded
Upgrade : brew upgrade Upgrade all software that can be upgraded.
Clean up : brew cleanup cleans up unnecessary versions and installation package caches
. These are commonly used. Generally speaking, if you're after a new version (not comfortable with upgrading), then your most common sequence of operations is this:
brew update # Update Homebrew information
brew outdated # See which software can be upgraded
brew upgrade <xxx> # If Not everything needs to be upgraded, so upgrade the specified
brew upgrade; brew cleanup # If you want to upgrade, just upgrade and clean up
mac homebrew common commands
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326256300&siteId=291194637
Ranking