Only Type 𝒃𝒓𝒆𝒘𝒖𝒑𝒅𝒂𝒕𝒆 to Update Everything on Your Mac.
A one-liner to update Homebrew, casks, and Mac App Store apps—plus cleanup. Add it as an alias for fast, efficient macOS maintenance.
💻 Keeping your macOS system clean and up-to-date doesn’t have to be a chore.
If you're a Homebrew user, here's a one-liner I use to update everything in one shot—CLI tools, apps, and even Mac App Store installs:
brew update && brew upgrade && brew cu --all --yes --cleanup && mas upgrade && brew cleanup
✅ What This Command Does
- Updates Homebrew and formulae
- Upgrades all installed packages
- Updates all cask applications
- Upgrades Mac App Store apps
- Cleans up old versions and cached files
💡 Add It as an Alias (Zsh)
To streamline the process, I added it as an alias in my terminal config:
echo "alias brewupdate='brew update && brew upgrade && brew cu --all --yes --cleanup && mas upgrade && brew cleanup'" >> ~/.zshrc
source ~/.zshrc
Now I just type brewupdate
whenever I want to do a full system refresh.
Fast, clean, and efficient.
📦 Tools Used
Homebrew
mas-cli
brew-cask-upgrade
Always happy to swap tips and shortcuts that make system upkeep easier. 🧠