xxxxxxxxxx
#This updates homebrew itself.
brew update
#You can then upgrade all individual packages and formula with the following:
brew upgrade
xxxxxxxxxx
brew update # Get most recent versions of available formulae and casks
brew outdated # Lists the outdated installed formulae and casks
brew upgrade # Upgrade the packages listed by brew outdated
brew upgrade <formula or cask> # Upgrade a specific formula or cask