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