mirror of
https://github.com/goreleaser/nfpm
synced 2026-11-29 17:15:59 +01:00
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>
24 lines
721 B
Markdown
24 lines
721 B
Markdown
---
|
|
title: nfpm
|
|
---
|
|
|
|
Packages apps on RPM, Deb, APK, Arch Linux, ipk, MSI, MSIX, and macOS (app, dmg, pkg) formats based on a YAML configuration file
|
|
|
|
## Synopsis
|
|
|
|
nFPM is a simple and 0-dependencies apk, app, arch, deb, dmg, ipk, msi, msix, pkg, and rpm packager written in Go.
|
|
|
|
## Options
|
|
|
|
```
|
|
-h, --help help for nfpm
|
|
```
|
|
|
|
## See also
|
|
|
|
* [nfpm completion](/docs/cmd/nfpm_completion/) - Generate the autocompletion script for the specified shell
|
|
* [nfpm init](/docs/cmd/nfpm_init/) - Creates a sample nfpm.yaml configuration file
|
|
* [nfpm jsonschema](/docs/cmd/nfpm_jsonschema/) - Outputs nFPM's JSON schema
|
|
* [nfpm package](/docs/cmd/nfpm_package/) - Creates a package based on the given config file and flags
|
|
|