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