For example, what is the difference between installing software (could be operating system update or any other software) from AppStore or from Terminal using softwareupdate
command. Is there any difference in security, performance, reliability etc?
MacOS – the difference between downloading and installing software from AppStore and Terminal
mac-appstoremacossoftware-updateterminal
Related Question
- MacOS – What do the Software Update options do
- MacOS – What’s the difference between the OS X version and build numbers
- MacOS – the difference between shutdown command and doing shutdown from apple menu
- MacOS – For a Western Digital Duo, what’s the difference between creating a RAID using WD Drive Utilities vs. OS X (diskutil)
- MacOS – On OS X El Capitan, what is the difference between /Library/ and /System/Library/
- MacOS – Get fan speed from terminal without spindump or third party software
- MacOS – Software Update command (on Mac) not listing all the updates
- MacOS – Can anyone explain to me the difference between terminal apps, CLI, CLT and Prompt
Best Answer
They command line tool only installs security patches and applications that ship and update only from the core macOS software update servers.
The App Store apps use a different system process to download apps from the App Store from different servers than the system update servers.
Both of the above can be cached locally from caching servers. The graphical Mac App Store app calls both of the processes in an attempt to let people see one interface when there are really several underlying and different processes at work.
For a quick overview the above programs / tools and daemons (programs that run in the background and are asked to do work from a queue periodically or on demand) are the main players that handle software updates and Mac App Store apps and updates.
A full treatment of how, caching, design, logs would take a nice chapter or two in a book, but hopefully this goes a few layers deeper so you understand why some updates can be scripted (system ones) and which need you to click a button or add a third party app (App Store ones) to be scripted or automated.