“The Missing Package Manager for macOS.”
While Homebrew isn’t strictly necessary, it does make installing and maintaining command line apps a breeze.
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)"
brew update to update Homebrew.
brew upgrade to upgrade packages and formulas.