The Mac App Store Is a Free Download through Software Update Apple Confims 2If you're sick of waiting for the progress bar to complete every time you reboot after a macOS software update, then you'll be pleased to learn there's another way to update your Mac that could potentially reduce your downtime.

The process involves a simple Terminal command, and allows you to continue using your Mac as the update downloads and the initial software installation takes place in the background. 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. Read on to find out how it's done.

How to Update macOS From the Command Line

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 (iTunes, Photos, printer drivers the like), but not updates for other Apple apps that aren't installed with macOS (Xcode, for instance), and not third-party updates from the Mac App Store.

  1. To update macOS from the command line, first launch Terminal, which can be found in the Applications/Utilities folder. This will open a Terminal window and a command prompt for you to begin typing.
    Terminal

  2. Input the following command and press Enter: softwareupdate -l
    software update terminal

  3. Wait as your Mac searches Apple's servers for any macOS software updates currently available for your system. If no updates are available, you'll be returned to the command prompt.

Now let's take a look at the command's output. 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:

update identifier
The asterisked line denotes the individual software update package that's available for your Mac to download. This line is also known as the identifier.

update details
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. [Recommended] means the update is recommended for all users, and [restart] indicates that your Mac needs to reboot for installation to complete.

To download and install a specific update in the list, use the following format, but replacing NAME with the update's identifier:

softwareupdate -i NAME

Or:

softwareupdate --install NAME

Note that if the package name you’re trying to install has spaces in it, you'll need to enclose the whole thing in single quotes. So for example:

softwareupdate --install 'macOS High Sierra 10.13.3 Supplemental Update-'

Also, be alert for spaces at the end of the package names. If present, they also need to be included within the quotes.

Moving on, to download a specific update for your system without also installing it then and there, you can use:

softwareupdate -d NAME

Updates downloaded in this way can be subsequently installed with the same -i or --install command above, or even through the Mac App Store. These updates are downloaded to a folder located in /Library/Updates, but they aren't designed to be installed by double-clicking the packages in that directory. You'll need to use the --install command or visit the Mac App Store to actually initiate the install.

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. All being well, Terminal will eventually prompt you to restart your machine manually so that the full installation procedure can complete. (Note that the softwareupdate utility requires admin authentication for all commands except the -l or -list command. If you run softwareupdate as a normal admin user, you will be prompted for a password where required.)

restart prompt
As some users will no doubt be aware, there are several additional options that can be used in conjunction with the softwareupdate utility. For example, -schedule on/off enables/disables your Mac's scheduled background check for updates. More adventurous readers can use man softwareupdate and softwareupdate -h for a summary list of commands.

Top Rated Comments

Wrecklass Avatar
58 months ago
My point, a good OS, no need for terminal. Apple makes a good OS, for most terminal rarely if ever needed. The reason I stay with MacOS.
As a software engineer I'm always amazed that there are people who are so CLI-phobic. The GUI has little or nothing to do with the OS. Neither does the terminal for that matter. They are both human user interfaces to communicate with the machine OS.

The difference is the CLI typically provides more options and is more concise in how you do things.

Given the time and resources to create a GUI there are often compromises made to get the basic functionality without providing all of the options.

macOS is a Unix based OS at it's core, just like Solaris, Linux or FreeBSD. Lots of money allowed Apple to create better than average GUI apps and interfaces. There is little magic in the Darwin OS itself.

Praising the CLI over the GUI is a matter of preference and what you need to get done.
Score: 13 Votes (Like | Disagree)
Kaibelf Avatar
58 months ago
I just stick with "sudo softwareupdate -ia" for all my updates these days. That has never caught me up in any errors, and always works.
Score: 7 Votes (Like | Disagree)
nt5672 Avatar
58 months ago
Buy Apple Products so I do not need the terminal commands. When I feel like I am missing the good old days, fire up my RaspberryPi. :D
I used to think like this also. But these days the Apple UI is getting so bad, that I have started using the command line more and more. I have to agree with the article, the App Store app sucks. When it was just the software update app it seemed to work just fine.

But the App Store app UI is usually out of sync with what is actually happening. If you are like me, when its time to install updates, I want them installed now, not sometime in the future when the App Store app feels like. Usually, I have made extra backups and cleaned everything up, before installing. After the update I check a number of things to make sure they are not hosed.

5 years ago I installed Apple update without any additional work, the day they were released. Not any more. Apple has, by its actions, lost my trust. Today I won't install any update until after its been out for weeks, if not longer. IMO Apple's main thrust these days is publicity, not performance and reliability and I am not willing to let their lack of ability effect my income.
Score: 7 Votes (Like | Disagree)
ArtOfWarfare Avatar
58 months ago
Apple has a pretty comprehensive set of commmand line tools that it seems like nobody ever talks about.

I found this one useful several years ago when the Mac App Store just wasn’t working for me.
Score: 6 Votes (Like | Disagree)
MacsRgr8 Avatar
58 months ago
NERD ALERT! ;)
Yes, and finally so!
Back to the good ol' geek UNIX fun of macOS!!
Score: 5 Votes (Like | Disagree)
mr.steevo Avatar
58 months ago
Whenever I see articles regarding Terminal it reminds me of this story regarding # rm -rf *

http://www.lug.wsu.edu/node/414
Score: 5 Votes (Like | Disagree)

Popular Stories

iPhone 14 Dummies 1 Feature

Everything Rumored for Apple's September Event: iPhone 14, Apple Watch Pro and More

Friday August 12, 2022 2:34 pm PDT by
There's just about a month to go until Apple holds its annual September event focusing on new iPhone and Apple Watch models. We thought we'd take a quick look at everything that's rumored for Apple's September event to give MacRumors readers a rundown on what to expect when the first fall event rolls around. iPhone 14 The iPhone 14 can probably be described more as an "iPhone 13S" because...
z fold 4 1

Hands-On With Samsung's Latest Foldable Smartphones, the Galaxy Z Fold and Z Flip

Friday August 12, 2022 12:46 pm PDT by
Samsung this week launched its fourth-generation foldable devices, the $1,000 Galaxy Z Flip and the $1,800 Galaxy Z Fold. Though there's no sign of a comparable Apple foldable device on the horizon, rumors suggest prototypes are in the works, so we thought we'd take a look at Samsung's newest smartphones to see what Apple needs to measure up to when a foldable iPhone does come out. Subscribe ...
iPhone 14 Pro Purple Rear Flat MacRumors Exclusive

iPhone 14 Pro: Analyst Believes Storage Will Continue to Start at 128GB Despite Rumored Price Increase

Friday August 12, 2022 7:04 am PDT by
It wouldn't be the month before an iPhone launch without a few back-and-forth rumors, with the latest debate concerning iPhone 14 Pro storage. iPhone 14 Pro render by Ian Zelbo While research firm TrendForce forecasted that iPhone 14 Pro models could start with an increased 256GB of storage, Haitong International analyst Jeff Pu today forecasted that the upcoming Pro models will continue to...
iPhone 14 Pro Purple Front and Back MacRumors Exclusive feature

iPhone 14 Is Just a Few Weeks Away: Three Tips to Prepare for the New iPhone

Wednesday August 10, 2022 4:08 am PDT by
The launch of the new iPhone 14 is just a few weeks away, meaning millions of iPhone customers will soon upgrade their existing iPhone or perhaps get an iPhone for the first time. Exclusive MacRumors iPhone 14 Pro renders by graphic designer Ian Zelbo Whether upgrading from an older model or this is your first iPhone, we've rounded up a few tips to help you prepare for the next flagship...
iPhone 14 Pro Lineup Feature Silver

Kuo: Apple to Increase Prices of iPhone 14 Pro Models

Wednesday August 10, 2022 8:22 am PDT by
Apple plans to increase the prices of iPhone 14 Pro models compared to iPhone 13 Pro models, according to analyst Ming-Chi Kuo. Kuo did not reveal exact pricing for the iPhone 14 Pro models. However, in a tweet today, he estimated that the average selling price of the iPhone 14 lineup as a whole will increase by about 15% compared to the iPhone 13 lineup. In the United States, the iPhone...
top stories 13aug2022

Top Stories: New Battery Percentage Icon in iOS 16, USB-C AirPods Rumor, and More

Saturday August 13, 2022 6:00 am PDT by
This week brought some shocking news for iOS 16 beta testers, with Apple bringing back the iPhone battery percentage to the status bar after a number of years. Other news and rumors this week included word that Apple has started recording portions of its media event planned for next month to introduce the iPhone 14 and Apple Watch Series 8, claims about iPhone 14 Pro pricing and Apple's...