Updating mobile terminal
In our tests, we found that this method was capable of shaving off several minutes of idle time during installation restarts, but that the time-saving depends on the machine and the update in question.
Users with older Macs in particular will likely appreciate this tip, as it saves having to fire up the Mac App Store altogether, which can be slow-going and sometimes even downright unresponsive. Before following these steps, ensure you have a full backup of your system, which should be par for the course when performing any update.
Note that the following procedure only lists stock Apple system updates (i Tunes, Photos, printer drivers the like), but not updates for other Apple apps that aren't installed with mac OS (Xcode, for instance), and not third-party updates from the Mac App Store. Available updates always appear as items in a list.
In our example, only one update is available at this time, but every item follows the same format, as shown: The asterisked line denotes the individual software update package that's available for your Mac to download. The second line offers a more detailed description of the update, including the version number (usually in brackets) and the download file size in kilobytes.
A system of automatic updates is built into the terminal.
Lastly, to download and install all available updates for your system, type the command: softwareupdate -i -a Using these commands, you'll be able to leave the update to download and continue to install in the background while you get on with other things.Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange This must've been done before: I want to keep a log file open in terminal so I can monitor updates to it as they occur.More adventurous readers can use man softwareupdate and softwareupdate -h for a summary list of commands.Every project on Git Hub comes with a version-controlled wiki to give your documentation the high level of care it deserves.