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

112 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)
112 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
112 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
112 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
112 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
112 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

Apple TV Sans Remote Feature

New Apple TV 4K Leaked

Friday September 25, 2026 8:16 am PDT by
MacRumors contributor Aaron Perris has uncovered an image file from Apple for an unreleased Apple TV 4K, suggesting that a new model will finally be released soon. The image is specifically for an "Apple TV 4K (4th generation)" model. Apple TV 4K (4th generation) image (on a gradient) The image reveals that the Apple TV will have the same external design as the current model, with all of its...
m5 pro macbook pro launch day

Amazon Just Knocked $900 Off Apple's Latest 16-Inch MacBook Pro

Sunday September 27, 2026 8:30 am PDT by
Amazon has introduced a major discount on the 16-inch MacBook Pro with the M5 Max chip, 32-Core GPU, 36GB RAM, and 2TB SSD, now available for $3,499.00, down from $4,399.00. This is a massive $900 markdown on the high-end MacBook Pro, and it's joining a few other MacBook Pro discounts on Amazon this week. Note: MacRumors is an affiliate partner with Amazon. When you click a link and make a...
iPad mini 7 feature

iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More

Friday September 25, 2026 8:18 am PDT by
Apple's next-generation iPad mini will feature the A20 Pro chip, a rearranged front-facing camera, and a new speaker system, leaked code reveals. The information originates from Apple's own code (spotted by MacRumors contributor Aaron Perris) and also shows clear product images of the new iPad mini. Although images of the device only show the front, leaving any design changes of the rear or ...
Latest Stories
iPhone Duo StandBy Leak Reveals Five Unannounced Faces
iPhone Duo StandBy Leak Reveals Five Unannounced Faces
6 hours ago
Apple Releases watchOS 27.0.1 for Additional Models
Apple Releases watchOS 27.0.1 for Additional Models
9 hours ago
iPhone 18 Pro First Impressions: What Do You Think So Far?
iPhone 18 Pro First Impressions: What Do You Think So Far?
11 hours ago
iOS 26.7.1 Fixes Vulnerability Used in Targeted Attacks
iOS 26.7.1 Fixes Vulnerability Used in Targeted Attacks
11 hours ago
Early Prime Day Deals Offer Up to 65% Off Anker and Jackery Power Stations
Early Prime Day Deals Offer Up to 65% Off Anker and Jackery Power Stations
12 hours ago
Apple Releases macOS Golden Gate 27.0.1 With Bug Fixes
Apple Releases macOS Golden Gate 27.0.1 With Bug Fixes
13 hours ago
Apple Releases iOS 27.0.1 With Face ID Bug Fix
Apple Releases iOS 27.0.1 With Face ID Bug Fix
13 hours ago
Last Chance: OWC's Best Mac Accessories Are on Sale Just for MacRumors Readers
Last Chance: OWC's Best Mac Accessories Are on Sale Just for MacRumors Readers
15 hours ago
12 New Things to Expect From Apple This October
12 New Things to Expect From Apple This October
16 hours ago
AirPods 5 vs. AirPods Pro 3 Buyer's Guide: Which Should You Buy?
AirPods 5 vs. AirPods Pro 3 Buyer's Guide: Which Should You Buy?
17 hours ago
Apple Ordered to Pay $5.7 Billion Over Haptic Patent Infringement
Apple Ordered to Pay $5.7 Billion Over Haptic Patent Infringement
18 hours ago
New Vision Pro Headset: Apple Considering Four Different Concepts
New Vision Pro Headset: Apple Considering Four Different Concepts
19 hours ago
Amazon Just Knocked $900 Off Apple's Latest 16-Inch MacBook Pro
Amazon Just Knocked $900 Off Apple's Latest 16-Inch MacBook Pro
2 days ago
Top Stories: Apple Leaks, Siri AI Settlement, and More
Top Stories: Apple Leaks, Siri AI Settlement, and More
3 days ago
watchOS 27: 12 New Things To Check Out on Your Apple Watch
watchOS 27: 12 New Things To Check Out on Your Apple Watch
3 days ago
Banks and Credit Unions to Team Up Against Apple Pay Fees
Banks and Credit Unions to Team Up Against Apple Pay Fees
3 days ago
Apple Finally Shares tvOS 27 Release Notes With List of New Features
Apple Finally Shares tvOS 27 Release Notes With List of New Features
3 days ago
Amazon's $199 Discount on Apple Watch Ultra 3 Returns to Help Clear Stock
Amazon's $199 Discount on Apple Watch Ultra 3 Returns to Help Clear Stock
4 days ago
MacRumors Giveaway: Win an Apple Watch Ultra 4 From Lululook
MacRumors Giveaway: Win an Apple Watch Ultra 4 From Lululook
4 days ago
Apple Code Confirms iPad 12 Specs: A19, 8GB RAM, N1, C1X Modem
Apple Code Confirms iPad 12 Specs: A19, 8GB RAM, N1, C1X Modem
4 days ago
Some iPhone 18 Pro Max Users Experiencing AT&T Cellular Issues
Some iPhone 18 Pro Max Users Experiencing AT&T Cellular Issues
4 days ago
Launch Week Deals Hit Latest Macs, Apple Watch Ultra 4, and Apple Accessories
Launch Week Deals Hit Latest Macs, Apple Watch Ultra 4, and Apple Accessories
4 days ago
The MacRumors Show: Tyler Stalman Talks iPhone 18 Pro's Camera
The MacRumors Show: Tyler Stalman Talks iPhone 18 Pro's Camera
4 days ago
iPad Mini With A20 Pro, New HomePod Mini Colors, and New Apple TV 4K All Just Leaked
iPad Mini With A20 Pro, New HomePod Mini Colors, and New Apple TV 4K All Just Leaked
4 days ago
iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More
iPad Mini 8 Leaked: A20 Pro Chip, Landscape Camera, and More
4 days ago
Exclusive: First Look at HomePod Mini 2 in Three New Colors
Exclusive: First Look at HomePod Mini 2 in Three New Colors
4 days ago
New Apple TV 4K Leaked
New Apple TV 4K Leaked
4 days ago
Create a Custom Pass in the Wallet App on iPhone
Create a Custom Pass in the Wallet App on iPhone
4 days ago
How to Check Your Mac's Manufacture Date in macOS 27
How to Check Your Mac's Manufacture Date in macOS 27
4 days ago
What's Gone in macOS Golden Gate and What's Next in macOS 28
What's Gone in macOS Golden Gate and What's Next in macOS 28
4 days ago