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