for cask in `brew list --cask`; do brew upgrade --cask $cask; done # Or this shorthand brew upgrade --cask $(brew list --cask)