installer
Install system software and packages to a specified domain or volume. tldr-pages
On macOS
macOS
Install a Python package to the root volume with verbose output
sudo installer -verbose -package path/to/python-version.pkg -target /IdentifyDisplay list of packages (or subpackages for .mpkg) that can be installed on the target volume
installer -pkginfo -package path/to/package.pkgIdentifyDisplay list of volumes onto which the package can be installed
installer -volinfo -package path/to/package.pkgIdentifyDisplay list of domains into which the package can be installed
installer -dominfo -package path/to/package.pkgIdentifyGenerate XML of install choices for a package
installer -package path/to/package.pkg -showChoiceChangesXMLIdentifyInstall package using XML config instead of command line parameters
sudo installer -package path/to/package.pkg -file path/to/config-fileIdentify