Skip to content

Instantly share code, notes, and snippets.

@NapoleonWils0n
Created November 11, 2012 01:12
Show Gist options
  • Save NapoleonWils0n/4053251 to your computer and use it in GitHub Desktop.
Save NapoleonWils0n/4053251 to your computer and use it in GitHub Desktop.
macosx: software update from the command line
#!/bin/sh
#-----------------------------------------------#
# software update from the command line
#-----------------------------------------------#
# To list the available software updates, use the following command.
sudo softwareupdate -l
# All available software updates can be installed with the following command:
sudo softwareupdate -i -a
# Install specific updates from those listed with the following:
sudo softwareupdate -i PackageName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment