nFPM
nfpm.goreleaser.com
- Free plan
- Windows
- macOS
- Linux
- Web
What nFPM is
nFPM is a Go tool for creating DEB, RPM, APK, IPK, Arch Linux, and MSIX packages. It can run from the command line or be used as a Go library, and the project describes it as a single binary with no external runtime dependencies. Package definitions are written in YAML and can specify metadata, files, dependencies, scripts, and format-specific overrides. The project documents installation through package managers, prebuilt archives, Docker, Go install, or building from source. Listed package manager options include Homebrew, Scoop, APT, Yum, Winget, and NPM. GoReleaser can use nFPM to generate and publish Linux packages and Windows MSIX packages. The GoReleaser documentation describes MSIX support as experimental and says symlinks are skipped. The install guide says release artifacts are checksummed and the checksum is signed with cosign; Docker images are also signed with cosign. nFPM is free and licensed under MIT. The project presents it as an option for users who want package creation without dependencies such as Ruby and tar, and directs support questions to the GoReleaser community.
Who it suits
nFPM suits developers who need to define software packages in YAML and build them from a command-line tool or Go library. It may fit projects seeking a single binary without external runtime dependencies such as Ruby and tar.
Good to know, and what to watch
- Builds six listed package formats
- Usable as a command-line tool or Go library
- YAML config covers metadata, files, dependencies, and scripts
- Several installation methods are documented
- Release artifacts and Docker images are signed with cosign
- MSIX support is described as experimental
- Symlinks are skipped for MSIX packages
Plans
Every plan and pricenFPM
Free plan
Getting started
- Open the nFPM project website
- Install through Homebrew, Scoop, APT, Yum, Winget, or NPM
- Alternatively use a prebuilt archive, Docker, Go install, or build from source
- Create a YAML package configuration
- Define metadata, files, dependencies, scripts, and format-specific overrides
- Run nFPM from the command line or use it as a Go library
The verdict
nFPM provides a dependency-light way to create packages from YAML, with multiple installation routes and GoReleaser integration. Users targeting MSIX should account for its experimental status and skipped symlinks.
Questions people ask
How much does nFPM cost?
nFPM is free, with a listed price of free and no paid plans stated.
Which package formats can it create?
It creates DEB, RPM, APK, IPK, Arch Linux, and MSIX packages.
Which operating systems are targeted?
The listed target platforms are Linux, macOS, and Windows.
Can nFPM be used as a library?
Yes. It can be run as a command-line tool or used as a Go library.
Is nFPM open source?
The repository identifies its license as MIT.
What is the MSIX limitation?
The documentation describes MSIX support as experimental and says symlinks are skipped.
What the maker publishes
- Artifact verification
- The install guide says release artifacts are checksummed and the checksum is signed with cosign; Docker images are also signed with cosign. source
- Configuration
- Packages are defined with a YAML configuration file. source
- Install options
- The project documents installation through package managers, prebuilt archives, Docker, Go install, or building from source. source
- Integrations
- GoReleaser can use nFPM to generate and publish Linux packages and Windows MSIX packages. source
- Intended use
- The project presents nFPM as an alternative for users who want a simple binary or library without dependencies such as Ruby and tar. source
- License
- The repository identifies its license as MIT. source
- MSIX limitation
- The GoReleaser documentation describes MSIX support as experimental and says symlinks are skipped. source
- Package contents
- Configuration can specify package metadata, files, dependencies, scripts, and format-specific overrides. source
- Purpose
- nFPM is a Go tool for creating deb, rpm, apk, ipk, Arch Linux, and MSIX packages. source
- Runtime
- The project describes nFPM as a single binary with no external runtime dependencies. source
- Security policy
- The GitHub repository links to a security policy. source
- Support
- The repository directs users with questions or support needs to the GoReleaser community. source
- Supported package managers
- Documented installation options include Homebrew, Scoop, APT, Yum, Winget, and NPM. source
- Ways to use
- nFPM can be used as a command-line tool or as a Go library. source
Checked against the maker's pages on 8 Oct 2026.