How to Check for Mac OS X Updates and install them using Terminal - Cyber Programmers - Learn Programming

Breaking

Thursday, April 30, 2015

How to Check for Mac OS X Updates and install them using Terminal

Mac OS X users receiving and installing updates through App Store usually. But there is a method to check for updates and install them using the terminal on your Mac OS X. 

Also Check: How to Check the Ubuntu version in Unity and in the Terminal

First of all open terminal. Now to see the list of available updates use this command.
softwareupdate -l
Now to install all updates from updates list use next command.
sudo softwareupdate -i -a
If you want to install specified updates use next command.
sudo softwareupdate -i Safari-8.0.5
Of course, replace the Safari-8.0.5 with the update you want to be installed.
To ignore some updates use next command.
sudo softwareupdate --ignore Safari-8.0.5
Do not forget to replace the Safari-8.0.5 with the update you want to be ignored.

Do not forget: How to install Mac OS X Yosemite 10.10 on VMware Player/Workstation

So now you can install updates from the terminal, but there are some more commands for updates. to see the list of all command execute this command in terminal.
softwareupdate -h
And you can see the list of all available commands for updates.