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
43 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: 9 Votes (Like | Disagree)
Kaibelf Avatar
43 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
43 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
43 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
43 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
43 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)

Top Stories

macbook air orange

Apple Developing a Whole New Kind of MacBook Air

Monday June 21, 2021 2:15 am PDT by
Apple is believed to be working on a completely new, high-end version of the MacBook Air, according to recent reports. Bloomberg's Mark Gurman, who often reveals accurate insights into Apple's plans, has repeatedly discussed the company's work on a high-end MacBook Air. Apple analyst Ming-Chi Kuo and leaker Jon Prosser have also referred to a similar MacBook Air model. The high-end...
ios wifi settings

iOS Bug Causes Specific Network Name to Disable Wi-Fi on iPhones

Sunday June 20, 2021 4:15 am PDT by
A wireless network naming bug has been discovered in iOS that effectively disables an iPhone's ability to connect to Wi-Fi. Security researcher Carl Schou found that after joining a Wi-Fi network with the name "%p%s%s%s%s%n" his iPhone's Wi-Fi functionality was left "permanently disabled." Changing a hotspot's SSID did nothing to correct the problem, with even a reboot failing to make a...
purple iphone 12 and 12 mini

iPhone 12 Mini Production Reportedly Ended Earlier Than Expected Due to Relatively Low Sales

Monday June 21, 2021 7:07 am PDT by
Following widespread reports that the iPhone 12 mini has experienced poor sales performance, at least relative to other iPhone 12 models, Taiwanese research firm TrendForce today claimed that production of the device has already ended. According to TrendForce, the iPhone 12 mini "reached End-of-Life ahead of time" during the second quarter of 2021, suggesting that Apple will focus on selling ...
iOS 15 Users Underwhelmed Feature

Users Underwhelmed by iOS 15 and iPadOS 15, Survey Suggests

Monday June 21, 2021 7:17 am PDT by
Users appear to be underwhelmed by Apple's upcoming iOS 15 and iPadOS 15 updates, according to the findings of a new survey by SellCell. The survey asked 3,000 iPhone and iPad users, evenly split between men and women, aged 18 or over in the United States, what they thought of iOS 15, iPadOS 15, and the naming of the upcoming iPhone 13 lineup. Over 50 percent of all of the survey's...
Top Stories 63 Feature

Top Stories: Beats Studio Buds Announced, Apple Watch Series 7 Rumors, and More

Saturday June 19, 2021 6:00 am PDT by
The Apple news cycle started to move beyond WWDC this week, but that doesn't mean there still wasn't a lot to talk about, led by the official debut of the much-leaked Beats Studio Buds that might give us a hint of what to expect for the second-generation AirPods Pro. With no hardware announcements at WWDC, we also took a look at when we might finally see the long-rumored redesigned MacBook...
primeday2020 feature3

Amazon Prime Day: The Best Apple Deals

Monday June 21, 2021 6:15 am PDT by
Amazon's annual Prime Day event has officially kicked off today, beginning 48 hours of discounts, offers, and tons of savings across Amazon's storefront. This includes everything from home electronics to clothing, jewelry, video games, movies, and much more. Note: MacRumors is an affiliate partner with these vendors. When you click a link and make a purchase, we may receive a small payment,...
iOS Spam Calendar Feature

iCloud Users Continue to Be Plagued by Calendar Spam

Monday June 21, 2021 8:51 am PDT by
Despite previous attempts to put the situation at rest, some iCloud users continue to experience spam calendar invitations, causing their calendars to be filled with random events. The situation received widespread coverage in 2016, where Apple said that it was "actively working to address this issue" by "identifying and blocking suspicious senders." Victims are targeted in various ways. The ...
iphone 13 yellow

TrendForce: iPhone 13 Lineup Will Remain Limited to Maximum 512GB of Storage

Monday June 21, 2021 6:33 am PDT by
Apple will likely unveil its next-generation "iPhone 12s" or "iPhone 13" lineup in around two and a half months from now, and ahead of time, Taiwanese research firm TrendForce has outlined its expectations for the devices. A summary of TrendForce's expectations:Apple will unveil four new iPhones in September, including a mini model, a standard model, and two Pro models. September is the...
16 inch macbook pro m2 render

When Can We Expect the Redesigned MacBook Pros Now?

Wednesday June 16, 2021 7:11 am PDT by
With no sign of redesigned MacBook Pro models at this year's WWDC, when can customers expect the much-anticipated new models to launch? A number of reports, including investor notes from Morgan Stanley and Wedbush analysts, claimed that new MacBook Pro models would be coming during this year's WWDC. This did not happen, much to the disappointment of MacBook Pro fans, who have been...
maxresdefault

Video: 20 Annoyances Apple Fixed in iOS 15 and macOS Monterey

Friday June 18, 2021 11:36 am PDT by
With iOS 15 and macOS Monterey, Apple is adding several quality of life improvements, which are designed to address some of the complaints that people have had with these operating systems for years now. Subscribe to the MacRumors YouTube channel for more videos. In our latest YouTube video, we're highlighting some of our favorite "fix" features that address long-running problems in iOS and...