Mastodon
Menu
home
start
about
me
contact
links
journal
writings
social
posts
bookmarks
saves
photos
memories
news
breaking
uses
tools
startyparty
home
Contact & Social
© 2008 - 2026 Marko Bajlovic
Version5.15.6

Using brewski, a custom alias for maintaining Homebrew packages

Oct 2, 2025

alias brewski='brew update && brew upgrade && brew cleanup; brew doctor; brew missing; echo "Brewski Complete" | terminal-notifier -sound default -appIcon https://brew.sh/assets/img/homebrew-256x256.png -title "Homebrew"'

This is a simple alias I threw together years ago that will update, upgrade, and cleanup your brew installation. It will then run brew doctor and brew missing to check for any issues. Finally it will notify you using Terminal Notifier that it's complete. It's similar to running pacman -Syu on Arch or apt-get update && apt-get upgrade && apt-get autoclean on Ubuntu.

I've been using this alias for many years now and it's been done great. I hope it helps you too.

tags
CLISoftwareTerminalShell