Homebrew is a package manager for MacOSX. 

Installing Homebrew

For installation instructions see:

http://brew.sh/ 

http://www.howtogeek.com/211541/homebrew-for-os-x-easily-installs-desktop-apps-and-terminal-utilities/

Commands

Command

Description

brew install <package>Installs a package
brew uninstall <package>Uninstall a package
brew upgrade <package>Upgrade a package
brew switch <package> <version>Switch to a specific version of a package

brew list --version <package>

List versions of app that you have installed.
brew info <package>List information/versions of the package.
brew search <package>Search for a package
brew cleanup <package>Remove old versions of a package
brew listList installed packages
brew updateUpdate brew