Files
nfpm/www/content/docs/cmd/nfpm_jsonschema.md
Dj GilcreaseandClaude Fable 5.2 410234f7ef feat(macos): add app, dmg and pkg packagers
Three packagers for macOS, built in pure Go on any platform:

- pkg: an installer package (.pkg) from contents and the preinstall and
  postinstall scripts, as a product archive that declares its
  architecture.
- app: an application bundle delivered as a zip (.app.zip), with a
  generated Info.plist.
- dmg: the same bundle in a disk image (.dmg) next to a link to the
  Applications folder.

app and dmg share the new "app" settings; pkg has its own. All three
take name, version, arch and contents from the shared fields, can be
signed with a PKCS#12 identity, and report the shared settings macOS has
no place for instead of dropping them silently.

Refs #535, #536.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 11:35:17 -08:00

398 B

title
title
nfpm jsonschema

Outputs nFPM's JSON schema

nfpm jsonschema [flags]

Options

  -h, --help            help for jsonschema
  -o, --output string   where to save the json schema (default "-")

See also

  • nfpm - Packages apps on RPM, Deb, APK, Arch Linux, ipk, MSI, MSIX, and macOS (app, dmg, pkg) formats based on a YAML configuration file