Skip to content

Mac update shell script (Appstore, macOS, Homebrew and others)

License

Notifications You must be signed in to change notification settings

kbitr/MacOS-All-In-One-Update-Script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

All-In-One Mac Update script 🍎

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.

Run

To execute just run:

zsh update-all.sh

To source and then use individual update-* functions first comment out the command at the bottom of the file and run:

source ./update-all.sh

If 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-all

and now you can call the script any time :)

Updates

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)

About

Mac update shell script (Appstore, macOS, Homebrew and others)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%