how to update mac os command line code example Example: macos update in terminal //in terminal //path$ softwareupdate -i -l