update mac os from terminal code example Example: macos update in terminal //in terminal //path$ softwareupdate -i -l