HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

brew upgrade — Upgrade outdated formulae and casks. More information: <https://docs.brew.sh/Manpage#upgrade-options

Submitted by: @import:tldr-pages··
0
Viewed 0 times
upgradecaskscommandoutdatedandbrew upgradecliformulae

Problem

How to use the brew upgrade command: Upgrade outdated formulae and casks. More information: <https://docs.brew.sh/Manpage#upgrade-options-installed_formulainstalled_cask->.

Solution

brew upgrade — Upgrade outdated formulae and casks. More information: <https://docs.brew.sh/Manpage#upgrade-options-installed_formulainstalled_cask->.

Upgrade all outdated casks and formulae:
brew upgrade


Upgrade a specific formula/cask:
brew upgrade {{formula|cask}}


Print what would be upgraded, but don't actually upgrade anything:
brew upgrade {{[-n|--dry-run]}}

Code Snippets

Upgrade all outdated casks and formulae

brew upgrade

Upgrade a specific formula/cask

brew upgrade {{formula|cask}}

Print what would be upgraded, but don't actually upgrade anything

brew upgrade {{[-n|--dry-run]}}

Context

tldr-pages: common/brew upgrade

Revisions (0)

No revisions yet.