Files
cheatsheet-tldr/tldr/brew-upgrade
2025-07-24 00:22:02 +00:00

22 lines
483 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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]}}`