Inspired by the article Keeping macOS clean.
This is a zsh Mac update script that updates all software I could find to be updated via Terminal on macOS.
Missing commands are not updated, but you might want
to install mas to update applications from Appstore.
To execute just run:
zsh update-all.shTo source and then use individual update-* functions first comment out the command at the bottom of the file and run:
source ./update-all.shIf you want to use this command often copy it to directory that you
have in PATH variable (check with echo $PATH) like this:
USER_SCRIPTS="${HOME}/.local/bin" # change this
cp ./update-all.sh $USER_SCRIPTS/update-all
chmod +x $USER_SCRIPTS/update-alland now you can call the script any time :)
Currently including:
- πΊ Homebrew formula's and casks (
brew) - βοΈ Atom (
apm) - π¦ Node Package Manager (
npm) - π RubyGems (
gem) - π§Ά Yarn (
yarn) - π Python 2.7 and 3 (
pip) - π΅ Applications in the Appstore (
mas) - π Microsoft Office (
msupdate) - π₯ MacOS Operating System Updates/Patches (
softwareupdate)