Brew is a modern, fast and full-featured package manager for OSX.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Detect current configuration problems
Brew will list any issue and suggestion about how to fix it.
$ brew doctor
Search for software
$ brew search wget
$ brew install wget
$ brew rm wget
Update brew, upgrade formulas, clean older and cache
$ brew update && brew upgrade && brew cleanup
Brew cask is now integrated with Brew. It manages graphical software, by installing it in
/opt/Homebrew-cask/Caskroom/ and linking the apps to
More info available here: Homebrew Cask
$ brew cask search slack
$ brew cask install slack
$ brew cask rm slack
$ brew cask zap slack
$ brew cask cleanup