MacOS – From command line open package installer

installmacospkg

From the command line is it possible to open a package installer window (not install the application).

I understand I could run the application using sudo installer -pkg ..... -target ....... Instead i would like to open the package in a similar way to if I double clicked the package within the Finder.

Best Answer

You can just use the open command:

open package.pkg