Skip to content

Instantly share code, notes, and snippets.

@dalekurt
Created November 24, 2021 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalekurt/dd403e249c67876de089ed1028cd9ad9 to your computer and use it in GitHub Desktop.
Save dalekurt/dd403e249c67876de089ed1028cd9ad9 to your computer and use it in GitHub Desktop.
MacOS Update Script
#!/bin/bash
# Requirements:
# - homebrew: https://brew.sh/
# - homebrew tap: buo/cask-upgrade - https://github.com/buo/homebrew-cask-upgrade
# - homebrew mas (Mac App Store command-line interface - https://github.com/mas-cli/mas)
# Update, upgrade all and cleanup
brew update && brew upgrade && brew cu --all --yes --cleanup && mas upgrade && brew cleanup
# Dump all taps, apps, casks and mac apps into ~/Brewfile
brew bundle dump --force --describe --file=~/Brewfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment