Skip to content

Instantly share code, notes, and snippets.

@hiteshjasani
Last active February 16, 2018 16:58
Show Gist options
  • Save hiteshjasani/554877fa1afa2006090afd53807c3748 to your computer and use it in GitHub Desktop.
Save hiteshjasani/554877fa1afa2006090afd53807c3748 to your computer and use it in GitHub Desktop.
Homebrew cheatsheet
Command Desc
brew update Update brew package info
brew upgrade <package-name> Install new version of package
brew info <package-name> See which version is linked
brew ls <package-name> --versions List package versions
brew ls <package-name> List files in package
brew switch <package-name> <version> Link to specified version of package
brew cleanup Remove outdated package versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment