run installer.app cli code example Example: how to run pkg file on mac terminal sudo installer -pkg /path/to/package.pkg -target /