![]() ![]() ![]() ![]() To download only the updates recommended by Apple, run the following command:.Sudo softwareupdate -d -a OR sudo softwareupdate -download -all To download all the updates, run the following command:.Sudo softwareupdate -i ‘macOS Catalina 10.15.7 Update’ Download the Updates Without Installing To install only specific updates, run the command below:įor example, we can choose to install only the macOS Catalina 10.15.7 Update by running the following command:.Sudo softwareupdate -i -r OR sudo softwareupdate -install -recommended To install only the updates recommended by Apple, run the following command:.Sudo softwareupdate -i -a OR sudo softwareupdate -install -all To install all the updates, run the following command:.If there is no software update available for installation, you will get a “No new software available” response as shown in Figure 2. Also, it can be seen that both updates are recommended by Apple. As shown in Figure 1, there are two updates available on our network - macOS Catalina 10.15.7 Update with a size of 4667570K (approximately 4.67GB) and Device Support Update with a size of 191029K (approximately 191MB). We executed the command and it found specific software updates available for us to download or install. Sudo softwareupdate -l OR sudo softwareupdate -list To get a list of all available updates, run the following command: Check for Available Updatesīefore installing a software update, you must establish that there is a macOS update available for installation. Simply search “terminal” using the Spotlight search option on your computer or navigating through Applications > Utilities > Terminal. ![]() Now, let’s get started by launching the terminal app. -d OR -download: This argument will download pending updates to the target Mac but not install any of the updates.-a OR -all: Use this argument to install all the available updates, whether critical or not.-r OR -recommended: Use this argument to install only updates marked as recommended by Apple.This can be used with additional arguments as follows: -i OR –-install: Installs the updates.-l OR –-list: This will list all the software updates available for installation after checking the update catalog.The most common arguments you can use with softwareupdate include the following: In this section, we will explore different softwareupdate arguments. Invoking the software update tool will cause macOS to install all or specific software updates depending on the arguments used. How to Install macOS Software Updates Remotely via Terminal The account you intend to use to manage the software updates must have admin level privileges on each Mac.SSH must be enabled on the client workstations.To execute the softwareupdate command on macOS to deploy updates remotely, there are a couple requirements: A good way to do this is to run softwareupdate commands in the terminal app. Taking all of this into consideration, it becomes the mandate of IT admins like yourself to understand how to deploy macOS software updates remotely and en masse. You cannot assume that end users will install software updates in a timely fashion, nor can you expect users to know when there is a situation that warrants an immediate critical software update.Īdditionally, installing software updates manually on each individual computer is time-consuming. Why Install macOS Software Updates Remotely?Īs an IT admin, when you manage multiple Macs in a network, you are responsible for ensuring they run smoothly and securely. We will explore how to do that using the terminal app in this article. With this in mind, it is crucial for admins to learn how to install macOS software updates remotely and efficiently. Mac admins who manage multiple computers across the network will need to regularly install software updates on those computers. Logoff, restart, or shutdown a macOS device.Change your computer name, hostname, and local hostname.Enable SSH to access a remote Mac’s shell securely.Check out the previous articles in this series to learn how to: This article continues our series on the common commands every Mac admin should know. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |