Skip to content

Instantly share code, notes, and snippets.

@AmandaRiu
Last active April 20, 2018 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AmandaRiu/6b241e0c36a82acb21c5bc8bbe8bf5a7 to your computer and use it in GitHub Desktop.
Save AmandaRiu/6b241e0c36a82acb21c5bc8bbe8bf5a7 to your computer and use it in GitHub Desktop.

Global commands

Command Description
brew update Update brew and cask
brew list List installed packages
brew outdated List packages that need updating

Package Commands

Command Description
brew install [package] Install
brew upgrade [package] Upgrade
brew uninstall [package] Uninstall
brew unlink [package] Unlink
brew link [package] Link
brew switch [package][version] Change versions. Ex: brew switch git 2.5.0
brew info [package] List versions, caveats, etc
brew cleanup [package] Remove old versions
brew edit [package] Edit the formula
brew cat [package] Print the formula
brew home [package] Open the homepage in a browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment