Skip to content

Instantly share code, notes, and snippets.

@awkale
Last active October 26, 2018 19:44
Show Gist options
  • Save awkale/2a4c8f344b04bc29deb500aad2d72636 to your computer and use it in GitHub Desktop.
Save awkale/2a4c8f344b04bc29deb500aad2d72636 to your computer and use it in GitHub Desktop.
#homebrew #cheatsheet
brew install git
#Install a package
brew upgrade git
#Upgrade a package
brew unlink git
#Unlink
brew link git
#Link
brew switch git 2.5.0
#Change versions
brew list --versions git
#See what versions you have
brew info git
#List versions, caveats, etc
brew cleanup git
#Remove old versions
brew edit git
#Edit this formula
brew home git
#Open homepage
brew update
#Update brew
brew list
#List installed
brew outdated
#What’s due for upgrades?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment