LKBEN11621: How to check for software updates on MacOS from the command line or terminal.
Symptom
You want to check for updates.
Cause
-
Solution
To check for updates, you need to upen Terminal or an alternative like iTerm and run the following command:
softwareupdate -l
This will give you a list of all updates available for the system. The output will look like:
Software Update Tool
Finding available software
Software Update found the following new or updated software:
* Label: macOS Ventura 13.1-22C65
Title: macOS Ventura 13.1, Version: 13.1, Size: 1639479K, Recommended: YES, Action: restart,
If there are no updates available, the output will show you:
Software Update Tool
Finding available software
No new software available.
To install the updates, you can use:
softwareupdate -i -a -R
This will install all available updates and reboot automatically when needed.
Have fun.
Disclaimer:
The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!About the Author
Author:
- Keskon GmbH & Co. KGWim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.
Latest update: 21.12.2022