How to Update macOS Using a Simple Terminal Command - MacRumors
Skip to Content

How to Update macOS Using a Simple Terminal Command

by

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

114 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: 14 Votes (Like | Disagree)
114 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: 8 Votes (Like | Disagree)
Kaibelf Avatar
114 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: 8 Votes (Like | Disagree)
ArtOfWarfare Avatar
114 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: 8 Votes (Like | Disagree)
KazKam Avatar
114 months ago
I know I've posted this in other threads related to software updates in macOS, but man, I REALLY miss the old Software Update. It was concise but still had all the information I needed to make an informed decision about an update (each update its own line item, terse description and change log, restart requirement, FILE SIZE, and it seemed much faster at scanning your system and refreshing available updates.

The App Store "Updates" tab OTOH is slooooooooow, convoluted, takes up four times the space yet tells me less, buries individual updates under macOS updates, and won't tell me how large a file is before I decide to download it. It sucks.

Edit: I half wonder if Apple is being intentionally obtuse about updates. I get the impression they'd be super happy if the choice of updating anything was taken out of the hands of users entirely and they were able to foist every update instantaneously, damn the consequences.
Score: 5 Votes (Like | Disagree)
MacsRgr8 Avatar
114 months ago
NERD ALERT! ;)
Yes, and finally so!
Back to the good ol' geek UNIX fun of macOS!!
Score: 5 Votes (Like | Disagree)

Popular Stories

imac video apple feature

November 20 to Mark the End of an Era at Apple

Wednesday November 11, 2026 7:51 am PST by
Apple has announced that the long-running Apple Support Community discussion forums for user-to-user tech support will be permanently closing on Friday, November 20. The forums have existed in some form for nearly 30 years, so it is the end of an era. Effective immediately, the Apple Support Community forums are in a read-only state, with new posts no longer being accepted. The final message ...
johny srouji

Apple's Johny Srouji Eyed to Replace Nvidia CEO Jensen Huang

Thursday November 12, 2026 4:29 am PST by
Apple's chief hardware officer Johny Srouji is being considered as a potential successor to Nvidia CEO Jensen Huang as the chipmaker's board prepares to remove its co-founder, according to Semafor. Citing a person familiar with the matter, the publication identified Srouji as one of the people under consideration for Nvidia's top job. It is unclear if Srouji has yet been approached or...
apple pro tell logo

Apple Launches Two Products Today

Friday November 13, 2026 2:37 am PST by
Apple is releasing two new products today, Friday, November 13: the all-new Apple HomeView and the fourth-generation Apple TV 4K, both of which have been available to pre-order since mid-October. Apple HomeView: Apple's new smart home display, powered by Apple Intelligence with Siri AI, for entertainment and managing the home. Available in tabletop and wall-mounted models, it can recognize up...
Latest Stories
Select 'Apple Home Collection' Accessories Now Available to Order
Select 'Apple Home Collection' Accessories Now Available to Order
19 minutes ago
Major Microsoft 365 Outage Continues
Major Microsoft 365 Outage Continues
2 hours ago
Apple Launches Two Products Today
Apple Launches Two Products Today
4 hours ago
Hands-On With the New Apple TV 4K and Siri AI
Hands-On With the New Apple TV 4K and Siri AI
14 hours ago
Siri AI Coming to Older Apple TV 4K Models in tvOS 27.2.1
Siri AI Coming to Older Apple TV 4K Models in tvOS 27.2.1
14 hours ago
HomeView Launch Kicks Off as First Orders Reach Customers
HomeView Launch Kicks Off as First Orders Reach Customers
15 hours ago
Apple Continues to Move Up iPhone Duo Delivery Dates
Apple Continues to Move Up iPhone Duo Delivery Dates
18 hours ago
Apple Explains How HomeView Keeps Camera Data Private
Apple Explains How HomeView Keeps Camera Data Private
18 hours ago
Apple Releases Updated HomeView Software 27.2 Before Launch
Apple Releases Updated HomeView Software 27.2 Before Launch
19 hours ago
Apple Adds Samsung Foldables to Trade-In Program
Apple Adds Samsung Foldables to Trade-In Program
21 hours ago
Apple Sports App Now Features UFC
Apple Sports App Now Features UFC
22 hours ago
Trump Says Tim Cook Should Be Nvidia CEO as Jensen Huang Resigns
Trump Says Tim Cook Should Be Nvidia CEO as Jensen Huang Resigns
22 hours ago
Apple Releases Emotional 2026 Holiday Ad Featuring MacBook Neo
Apple Releases Emotional 2026 Holiday Ad Featuring MacBook Neo
22 hours ago
Apple's Official iPhone 18 Pro Cases and Watch Bands Get Big Discounts on Amazon
Apple's Official iPhone 18 Pro Cases and Watch Bands Get Big Discounts on Amazon
22 hours ago
Nintendo to End 'Sign in With Apple' Support in January
Nintendo to End 'Sign in With Apple' Support in January
23 hours ago
Walmart Black Friday Sale Begins With Early Deals on TVs, Laptops, and More
Walmart Black Friday Sale Begins With Early Deals on TVs, Laptops, and More
23 hours ago
Apple Says HomeView Software Update Coming Next Month With Siri Fix
Apple Says HomeView Software Update Coming Next Month With Siri Fix
1 day ago
Review: Is Apple's All-New HomeView Smart Home Hub Worth $299?
Review: Is Apple's All-New HomeView Smart Home Hub Worth $299?
1 day ago
Apple Home Collection: Select Accessories Available to Order This Friday
Apple Home Collection: Select Accessories Available to Order This Friday
1 day ago
'Ratchet & Clank: Ranger Rumble' to Leave App Store This Month
'Ratchet & Clank: Ranger Rumble' to Leave App Store This Month
1 day ago
Apple's Johny Srouji Eyed to Replace Nvidia CEO Jensen Huang
Apple's Johny Srouji Eyed to Replace Nvidia CEO Jensen Huang
1 day ago
Apple Support Community Deserved a Proper Goodbye
Apple Support Community Deserved a Proper Goodbye
1 day ago
Apple on Fatal Vehicle Crash Near Apple Park: 'Our Hearts Are Broken'
Apple on Fatal Vehicle Crash Near Apple Park: 'Our Hearts Are Broken'
2 days ago
Apple Invites App Updated With Two New Features
Apple Invites App Updated With Two New Features
2 days ago
Google Says Gemini App Rolling Out on Apple CarPlay Starting Today
Google Says Gemini App Rolling Out on Apple CarPlay Starting Today
2 days ago
Is It Worth Buying a Ceramic Apple Watch?
Is It Worth Buying a Ceramic Apple Watch?
2 days ago
Samsung Early Black Friday Event Brings Major Sales to Frame TVs and More
Samsung Early Black Friday Event Brings Major Sales to Frame TVs and More
2 days ago
iPhone 18 Pro Max Wins Battery Test Involving 32 Smartphones
iPhone 18 Pro Max Wins Battery Test Involving 32 Smartphones
2 days ago
AirTag 2 4-Pack Hits Record Low $69.99 Price Ahead of Black Friday
AirTag 2 4-Pack Hits Record Low $69.99 Price Ahead of Black Friday
2 days ago
Rumored Apple Smart Glasses Mentioned in Supplier's Earnings Briefing
Rumored Apple Smart Glasses Mentioned in Supplier's Earnings Briefing
2 days ago