sudo softwareupdate -i -a --restart sudo softwareupdate -l Shows pending updates
sudo softwareupdate -d
downloads but will not update
Thanks to birchtree.me for posting this:
https://birchtree.me/blog/install-mac-app-store-updates-with-one-line-in-the-terminal/