Files
nfpm/www/content/_index.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

58 lines
1.6 KiB
Markdown

---
title: nFPM
layout: hextra-home
---
<div class="hx:mt-6 hx:mb-6">
{{< hextra/hero-headline >}}
<div class="hx-flex hx-justify-center hx-mb-12">
<img src="/nfpm-logo.png" alt="nFPM Logo" style="height: 80px; width: auto;" />
</div>
{{< /hextra/hero-headline >}}
</div>
<div class="hx:mb-12">
{{< hextra/hero-subtitle >}}
A simple deb, rpm, apk, ipk, arch linux, msi, msix, and macOS (app, dmg, pkg) packager written in Go.
{{< /hextra/hero-subtitle >}}
</div>
<div class="hx:mb-6">
{{< hextra/hero-button text="Get Started" link="docs" >}}
</div>
<div class="hx:mt-6">
{{< hextra/feature-grid >}}
{{< hextra/feature-card
title="No Runtime Dependencies"
subtitle="No Ruby, no tar, no external dependencies. Just a single binary."
icon="cube-transparent"
>}}
{{< hextra/feature-card
title="Multiple Formats"
subtitle="Create deb, rpm, apk, ipk, arch linux, msi, msix, and macOS app, dmg, and pkg packages."
icon="collection"
>}}
{{< hextra/feature-card
title="Simple Configuration"
subtitle="Define your package with a simple YAML configuration file."
icon="document-text"
>}}
{{< hextra/feature-card
title="Cross Platform"
subtitle="Build packages on any platform that Go supports."
icon="switch-horizontal"
>}}
{{< hextra/feature-card
title="Library & Binary"
subtitle="Use as a standalone binary or integrate as a Go library."
icon="terminal"
>}}
{{< hextra/feature-card
title="Fast & Lightweight"
subtitle="Written in Go for speed and efficiency."
icon="sparkles"
>}}
{{< /hextra/feature-grid >}}
</div>