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 xxx
Search the information such as version:
$ brew info xxx
Update
Update Homebrew itself:
brew update
List newer versions of all the apps:
$ brew outdated
Upgrade
// upgrade all
$ brew upgrade
// upgrade xxx
$ brew upgrade xxx
Cleanup
clean up the old version packets
$ brew cleanup
Uninstall
$ brew uninstall xxx
The 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)