{
"name": "pkgutil",
"description": "Query and manipulate for macOS Installer packages and receipts",
"subcommands": [
{
"name": "--packages",
"aliases": [
"--pkgs"
],
"description": "List all installed package IDs on the specified --volume"
},
{
"name": "--pkgs-plist",
"description": "List all installed package IDs, in Mac OS X plist(5) format, on the specified --volume"
},
{
"name": "--files",
"description": "List all of the files installed under the package-id",
"args": [
{
"name": "package-id",
"description": "The package ID to list the files of"
}
]
},
{
"name": "--export-plist",
"description": "Print all receipt information about the specified package-id in Mac OS X plist(5) format",
"args": [
{
"name": "package-id",
"description": "The package ID to export the plist of"
}
]
},
{
"name": "--verify",
"description": "Run repair_packages(8) to verify the specified package-id",
"args": [
{
"name": "package-id",
"description": "The package ID to verify"
}
]
},
{
"name": "--repair",
"description": "Run repair_packages(8) to repair the specified package-id",
"args": [
{
"name": "package-id",
"description": "The package ID to repair"
}
]
},
{
"name": "--pkg-info",
"description": "Print extended information about the specified package-id",
"args": [
{
"name": "package-id",
"description": "The package ID to print the info of"
}
]
},
{
"name": "--pkg-info-plist",
"description": "Print extended information about the specified package-id in Mac OS X plist(5) format",
"args": [
{
"name": "package-id",
"description": "The package ID to print the info of"
}
]
},
{
"name": "--forget",
"description": "Discard all receipt data about package-id, but don't touch installed files",
"args": [
{
"name": "package-id",
"description": "The package ID to forget"
}
]
},
{
"name": "--learn",
"description": "Update the ACLs of the given path in the receipt identified by --edit-pkg",
"args": [
{
"name": "path",
"description": "The path to update ACLs on"
}
]
},
{
"name": "--pkg-groups",
"description": "List all of the package groups this package-id is a member of",
"args": [
{
"name": "package-id",
"description": "The package ID to list the groups of"
}
]
},
{
"name": "--groups",
"description": "List all of the package groups ont he specified --volume"
},
{
"name": "--group-plist",
"description": "List all of the package groups ont he specified --volume in Mac OS X plist(5) format"
},
{
"name": "--group-pkgs",
"description": "List all of the packages that are members of this group-id",
"args": [
{
"name": "group-id",
"description": "The group ID to list the packages of"
}
]
},
{
"name": "--file-info",
"description": "Show the metadata known about path",
"args": [
{
"name": "path",
"description": "The path to show the metadata of",
"template": "filepaths"
}
]
},
{
"name": "--file-info-plist",
"description": "Show the metadata known about path in Mac OS X plist(5) format",
"args": [
{
"name": "path",
"description": "The path to show the metadata of",
"template": "filepaths"
}
]
},
{
"name": "--expand",
"description": "Expand the flat package at pkg-path into a new directory specified by dir-path",
"args": [
{
"name": "pkg-path",
"description": "The path to the flat package to expand",
"template": "filepaths"
},
{
"name": "dir-path",
"description": "The path to the directory to expand the package into",
"template": "folders"
}
]
},
{
"name": "--flatten",
"description": "Flatten the dir-path into a new flat package created at pkg-path",
"args": [
{
"name": "dir-path",
"description": "The path to the directory to flatten",
"template": "folders"
},
{
"name": "pkg-path",
"description": "The path to the flat package to create",
"template": "filepaths"
}
]
},
{
"name": "--bom",
"description": "Extract any BOM files from the flat pkg at path into /tmp and return the filename(s)",
"args": [
{
"name": "path",
"description": "The path to the flat package to extract the BOM from"
}
]
},
{
"name": "--payload-files",
"description": "List the files archived within the uninstalled flat package(s) at path",
"args": [
{
"name": "path",
"description": "The path to the flat package to list the archived files of"
}
]
},
{
"name": "--check-signature",
"description": "Check the validity and trust of the signature on the package at pkg-path",
"args": [
{
"name": "pkg-path",
"description": "The path to the flat package to check the signature of"
}
]
}
],
"options": [
{
"names": [
"-h",
"--help"
],
"description": "A brief summary of commands and usage"
},
{
"names": [
"-f",
"--force"
],
"description": "Skip confirmation before a potentially destructive or ambiguous action"
},
{
"names": [
"-v",
"--verbose"
],
"description": "Output in a human-readable format"
},
{
"names": [
"--volume"
],
"description": "Perform all operations on specified volume",
"takes_arg": true,
"arg": {
"name": "volume",
"description": "Volume to perform operations on",
"template": "folders"
}
},
{
"names": [
"--edit-pkg"
],
"description": "Specifies an existing receipt to be modified in-place by --learn",
"takes_arg": true,
"arg": {
"name": "package-id",
"description": "Package ID of the receipt to modify"
}
},
{
"names": [
"--only-files"
],
"description": "List only files (not directories) in --files listing"
},
{
"names": [
"--only-dirs"
],
"description": "List only directories (not files) in --files listing"
},
{
"names": [
"--regexp"
],
"description": "Use regex to match package-id arguments, if an exact match isn't found"
},
{
"names": [
"--pkgs"
],
"description": "List all installed package IDs, optionally matching kwarg REGEXP, on the specified --volume",
"takes_arg": true,
"arg": {
"name": "REGEXP",
"description": "Regular expression"
}
}
]
}