+4 votes
234 views
How to download and install macOS updates with commands

in Mac by (552k points)
reopened | 234 views

1 Answer

+5 votes
Best answer

1. How to find available updates and install them on Mac
2. How to download updates without installing them on Mac

The update of the operating system must always be one of the priorities to take into account since this depends on the security, performance and compatibility of many applications. When we use macOS High Sierra we can see how frequently we are notified of the new updates available or of which they have already been installed in the system:

image

Normally, we must access the App Store and there, from the Updates section, proceed to download and install all available updates for the operating system:

image

This is the traditional method, but it can be a cause of slow system or the App Store itself for multiple reasons, so in TechnoWikis we will analyze the way to download and install updates on the system directly using the terminal which is much simpler and its download process is almost imperceptible to the end user..

Terminal Access
To access the terminal in macOS High Sierra we have the following options:
  • On the route Go / Utilities / Terminal
  • Using the key combination ⇧ + ⌘ + U and in the displayed window run the terminal
  • Entering the word terminal in Spotlight and there select the respective utility

1. How to find available updates and install them on Mac


Once we access the terminal, we will run the following line to list all currently available updates for macOS:
 softwareupdate -l 

image

As we can see, there are the updates that are ready to be downloaded and installed. If we want to download and install the updates automatically, we will execute the following line:

 softwareupdate -i -a 

image

There we see that the download process begins which, upon completion, will request that we restart the system to apply the respective updates.

If you wish to install only one update, we must execute the following:

 softwareupdate -i (Update name) 
Once the updates are downloaded, the automatic installation process will begin:

image


2. How to download updates without installing them on Mac


In some cases due to time or resources we cannot wait for the updates to be installed in the system, in this case we can download the available updates and then restart the system.

To do this, we first list the available updates as we have seen before by running the following:

 softwareupdate -l, 
Now, we will execute the following line to only download these:
 softwareupdate -d -a 

image

As we can see, only the updates have been downloaded and at the time we deem appropriate we can restart the system so that these are applied correctly and thus have the macOS operating system updated..

Recall again the importance of having an updated system as it will avoid headaches and we will know that it will be one step ahead of any threat.


by (3.5m points)
edited

Related questions

+3 votes
1 answer
asked Apr 27, 2020 in Mac by backtothefuture (552k points) | 261 views
+4 votes
1 answer
asked Oct 7, 2019 in Mac by backtothefuture (552k points) | 282 views
+3 votes
1 answer
asked Nov 2, 2019 in Mac by backtothefuture (552k points) | 550 views
+3 votes
1 answer
asked Nov 6, 2021 in Mac by backtothefuture (552k points) | 83 views
+4 votes
1 answer
asked Oct 11, 2019 in Mac by backtothefuture (552k points) | 242 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users