All apps/pkgutil

pkgutil

pkgutil

Query and manipulate macOS Installer packages and receipts.

Runs as pkgutil|macOS

Autocomplete

Fig spec, with what the manifest adds · 21 subcommands · 9 options
Published once and never changed; check the digest before caching
sha256
0637d74cdf658cc8de5450369ef0cdf86a0a1901c017b36b7322c48d9aed8702
Size
10362 bytes
Subcommands21 subcommands
pkgutil --packages
List all installed package IDs on the specified --volume
pkgutil --pkgs-plist
List all installed package IDs, in Mac OS X plist(5) format, on the specified --volume
pkgutil --files
List all of the files installed under the package-id
pkgutil --export-plist
Print all receipt information about the specified package-id in Mac OS X plist(5) format
pkgutil --verify
Run repair_packages(8) to verify the specified package-id
pkgutil --repair
Run repair_packages(8) to repair the specified package-id
pkgutil --pkg-info
Print extended information about the specified package-id
pkgutil --pkg-info-plist
Print extended information about the specified package-id in Mac OS X plist(5) format
pkgutil --forget
Discard all receipt data about package-id, but don't touch installed files
pkgutil --learn
Update the ACLs of the given path in the receipt identified by --edit-pkg
pkgutil --pkg-groups
List all of the package groups this package-id is a member of
pkgutil --groups
List all of the package groups ont he specified --volume
pkgutil --group-plist
List all of the package groups ont he specified --volume in Mac OS X plist(5) format
pkgutil --group-pkgs
List all of the packages that are members of this group-id
pkgutil --file-info
Show the metadata known about path
pkgutil --file-info-plist
Show the metadata known about path in Mac OS X plist(5) format
pkgutil --expand
Expand the flat package at pkg-path into a new directory specified by dir-path
pkgutil --flatten
Flatten the dir-path into a new flat package created at pkg-path
pkgutil --bom
Extract any BOM files from the flat pkg at path into /tmp and return the filename(s)
pkgutil --payload-files
List the files archived within the uninstalled flat package(s) at path
pkgutil --check-signature
Check the validity and trust of the signature on the package at pkg-path
OptionsOn pkgutil itself
-h--help
A brief summary of commands and usage
-f--force
Skip confirmation before a potentially destructive or ambiguous action
-v--verbose
Output in a human-readable format
--volume
Perform all operations on specified volume <volume>
--edit-pkg
Specifies an existing receipt to be modified in-place by --learn <package-id>
--only-files
List only files (not directories) in --files listing
--only-dirs
List only directories (not files) in --files listing
--regexp
Use regex to match package-id arguments, if an exact match isn't found
--pkgs
List all installed package IDs, optionally matching kwarg REGEXP, on the specified --volume <REGEXP>