commands.sh

pkgutil

macos

Query and manipulate Mac OS X Installer packages and receipts.

More info →

Examples (4)

List package IDs for all installed packages

pkgutil --pkgs

Verify cryptographic signatures of a package file

pkgutil --check-signature path/to/file.pkg

List all the files for an installed package given its ID

pkgutil --files com.microsoft.Word

Extract the contents of a package file into a directory

pkgutil --expand-full path/to/file.pkg path/to/directory
made by @shridhargupta | data from tldr-pages