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