![update r on mac terminal update r on mac terminal](https://www.maketecheasier.com/assets/uploads/2017/03/terminal-mas-outdated.png)
If you installed software updates that require a reboot, you’ll see a final message instructing you to restart your Mac.
#Update r on mac terminal install#
The “-a” switch simply instructs the command to install all updates. To install all available software updates, instead use the command sudo softwareupdate -i -a.
![update r on mac terminal update r on mac terminal](https://www.maketecheasier.com/assets/uploads/2013/11/download-file-terminal-mac-featured-400x172.jpg)
As this is a superuser ( sudo) command, you’ll need to enter your admin account password when prompted.
![update r on mac terminal update r on mac terminal](https://docs.moodle.org/22/en/images_en/1/15/Moodle4Mac_Update2.png)
To install an individual software update, enter the command sudo softwareupdate -i name, where “name” is the exact name of one of the available updates revealed by the list command.This will provide a list of all available updates along with their individual file sizes and a note indicating whether you’ll need to restart your Mac to complete the update process. From the Terminal, type softwareupdate -l (that’s a lowercase “L” and not the number one).Launch the Terminal application (which can be found in the /Applications/Utilities folder or by searching for it with Spotlight).