Homebrew is, in my opinion, an essential package manager for macOS. According to Homebrew’s website it “installs the stuff you need that Apple didn’t”.
Before installing Homebrew, you have to get Xcode from the App Store.
After you have downloaded Xcode, open the “Terminal” app in /Applications/Utilities/, and run:
to install the Xcode command line tools.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
And let Homebrew install.
How do you use Homebrew?
Some commands you can run are:
brew search [TEXT|/REGEX/]
brew (info|home|options) [FORMULA...]
brew install FORMULA...
brew upgrade [FORMULA...]
brew uninstall FORMULA...
brew list [FORMULA...]