Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages/osx/installer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# installer

> Install system software and packages to a specified domain or volume.
> More information: <https://ss64.com/mac/installer.html>.

- Install the 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 packge can be installed:

Check failure on line 18 in pages/osx/installer.md

View workflow job for this annotation

GitHub Actions / codespell

packge ==> package

`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}}`
Loading