Updating all the things on your Mac

Homebrew

brew update && brew upgrade

Software Update

softwareupdate --all --install --force