macOS

Homebrew

brew update
# Install example.
brew install git
# List outdated formulae.
brew outdated
brew upgrade