Homebrew
“The Missing Package Manager for macOS.”
While Homebrew isn’t strictly necessary, it does make installing and maintaining command line apps a breeze.
Installation
It’s always a good idea to read an install script before installing.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Basics
brew update
to update Homebrew.
brew upgrade
to upgrade packages and formulas.