Terminal Tips: Install software updates from the command line

December 2, 2008 by admin
Filed under: Apple News 

Filed under: Terminal Tips

8d5e2_terminal-tips_-install-software-updates-with-terminal.app Terminal Tips: Install software updates from the command line

Sure, you could update your Apple software by opening Software Update from the Apple menu. But what if you’re inclined to use a command line interface, or maybe you need to update a remote machine via SSH? There’s a way to complete a software update in Terminal.app. Here’s how.

If you want to do an automatic install of all the updates for your particular Mac, first log in as an administrative user. Then open Terminal.app (located in /Applications/Utilities), and type (or copy/paste) the following command:

sudo softwareupdate -i -a

and hit Return. Next, you’ll be prompted to enter your password; do so, and then hit Return. The application will then look for available updates, download them, and then install them. You will see the progress in Terminal. If no updates are available, Terminal will let you know.

This command replicates the functionality of the normal Software Update utility. However, you can use it on other machines in the background via SSH remote login, or you could apply a specific update rather than the full list of available patches. To see all the command options, type man softwareupdate at the Terminal prompt.

Want more tips and tricks like this? Visit TUAW’s Terminal Tips section!

TUAWTerminal Tips: Install software updates from the command line originally appeared on The Unofficial Apple Weblog (TUAW) on Tue, 02 Dec 2008 11:00:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments

 Terminal Tips: Install software updates from the command line

 Terminal Tips: Install software updates from the command line  Terminal Tips: Install software updates from the command line

 Terminal Tips: Install software updates from the command lineCheap wow gold

Comments

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!