pkgutil
Query and manipulate Mac OS X Installer packages and receipts. More information: https://ss64.com/osx/pkgutil.html.
-
List package IDs for all installed packages:
pkgutil --pkgs -
Verify cryptographic signatures of a package file:
pkgutil --check-signature {{path/to/filename.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/filename.pkg}} {{path/to/directory}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.