Last active
July 11, 2022 10:35
-
-
Save nunomcruz/cbaab3a4a3bc97334021b904bb586ea4 to your computer and use it in GitHub Desktop.
Script upgrading outdated brew casks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
(set -x; brew update;) | |
(set -x; brew upgrade;) | |
(set -x; brew upgrade --cask --greedy --force;) | |
(set -x; brew cleanup --prune=2;) | |
#curl -s https://raw.githubusercontent.com/fwartner/mac-cleanup/main/mac-cleanup | bash /dev/stdin | |
softwareupdate -li -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment