Skip to content

CLI Reference

macmule edited this page Nov 16, 2026 · 1 revision

The jamJAR 3.0+ is a full CLI tool. Below can be found details around it's usage, this is shown when invoking the jamJAR CLI without arguments or with --help

USAGE: jamJAR [--add-to-installs <title>] [--remove-from-installs <title>]
              [--add-to-uninstalls <title>] [--remove-from-uninstalls <title>]
              [--collect-logs] [--reset] [--version]
              [--force] [--verbose]
Argument Requires root Description
--add-to-installs <title> Yes Adds a title to managed_installs in the jamJAR manifest and triggers a Munki run.
--remove-from-installs <title> Yes Removes a title from managed_installs.
--add-to-uninstalls <title> Yes Adds a title to managed_uninstalls and triggers a Munki run.
--remove-from-uninstalls <title> Yes Removes a title from managed_uninstalls.
--postflight Yes Runs postflight processing (called by the Munki postflight hook).
--process-pending No Posts or clears pending-item notifications (called by the LaunchAgent at login).
--collect-logs Yes Copies logs to /Users/Shared/jamJAR Logs/.
--reset Yes Resets all jamJAR and Munki preferences, manifests, and logs to defaults.
--version No Prints the binary version and exits.
--force — Forces immediate install/uninstall of pending items without waiting for apps to close.
--verbose — Enables VERBOSE-level logging to /var/log/jamJAR.log.

Clone this wiki locally