Homebrew
Usage of Homebrew
Installation
Search the location of xxx:
$ brew search xxx Install xxx according to the location:
$ brew install xxx
$ brew cask install xxxSearch the information such as version:
$ brew info xxxUpdate
Update Homebrew itself:
brew updateList newer versions of all the apps:
$ brew outdatedUpgrade
// upgrade all
$ brew upgrade
// upgrade xxx
$ brew upgrade xxxCleanup
clean up the old version packets
$ brew cleanupUninstall
$ brew uninstall xxxThe end. 😊
Q&A
- Error: Checksum for Cask ‘xxx’ does not match
Solution:
- delete the downloaded dmg packet and try again
- update brew and try again (maybe need to wait for a long time)