diff --git a/pages/osx/installer.md b/pages/osx/installer.md new file mode 100644 index 00000000000000..e228e22f340cb0 --- /dev/null +++ b/pages/osx/installer.md @@ -0,0 +1,28 @@ +# installer + +> Install system software and packages to a specified domain or volume. +> More information: . + +- Install a Python package to the root volume with verbose output: + +`sudo installer -verbose {{[-pkg|-package]}} {{path/to/python-version.pkg}} {{[-tgt|-target]}} /` + +- Display list of packages (or subpackages for `.mpkg`) that can be installed on the target volume: + +`installer -pkginfo {{[-pkg|-package]}} {{path/to/package.pkg}}` + +- Display list of volumes onto which the package can be installed: + +`installer -volinfo {{[-pkg|-package]}} {{path/to/package.pkg}}` + +- Display list of domains into which the package can be installed: + +`installer -dominfo {{[-pkg|-package]}} {{path/to/package.pkg}}` + +- Generate XML of install choices for a package: + +`installer {{[-pkg|-package]}} {{path/to/package.pkg}} -showChoiceChangesXML` + +- Install package using XML config instead of command line parameters: + +`sudo installer {{[-pkg|-package]}} {{path/to/package.pkg}} -file {{path/to/config-file}}`