macOS
brew install nfpmlocal Homebrew formula metadata
sudo port install nfpmMacPorts ports tree · sysutils/nfpm/Portfile · 来源: api.github.com
安装
brew install nfpmlocal Homebrew formula metadata
sudo port install nfpmMacPorts ports tree · sysutils/nfpm/Portfile · 来源: api.github.com
sudo apk add nfpmAlpine Linux edge package indexes · nfpm · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#nfpmnixpkgs package indexes · pkgs/by-name/nf/nfpm/package.nix · 来源: api.github.com
sudo zypper install nfpmopenSUSE Tumbleweed package metadata · nfpm · 来源: download.opensuse.org
scoop install main/nfpmScoop official bucket manifest trees · bucket/nfpm.json · 来源: api.github.com
winget install --id goreleaser.nfpm -eWindows Package Manager source index · goreleaser.nfpm · 来源: cdn.winget.microsoft.com
概览
Simple deb and rpm packager
历史
nFPM is a Go-based packaging tool from the GoReleaser ecosystem for producing native Linux packages such as deb, rpm, apk, ipk, Arch Linux packages, Termux debs, and MSIX packages. Its practical niche is release automation: take files and metadata from a build and emit distro-package artifacts without forcing every project to maintain native packaging trees.
Carlos Becker introduced nFPM in a February 23, 2018 post after working on GoReleaser and finding fpm awkward for that workflow because it depended on Ruby, tar behavior, and external packaging software. The name means "Not FPM"; the project was meant to be simpler, predictable, usable both as a library and as a binary, and implemented with minimal external dependencies.
The GitHub README repeats that origin story in package-nerd terms: fpm was useful, but its Ruby and system-tool dependencies were a pain, so nFPM became a simpler, zero-dependency, low-assumption alternative. The repository also credits fpm as the inspiration rather than pretending to be a wholly new packaging idea.
nFPM's adoption is tied to GoReleaser rather than to a distro committee. Becker's original post said GoReleaser was about to remove fpm and default to nFPM, and GoReleaser's packaging documentation now exposes nFPM directly under its package/archive pipeline.
The project has grown beyond the original deb/rpm goal. GoReleaser's nFPM documentation lists apk, deb, rpm, Termux deb, Arch Linux, ipk, and MSIX as package formats, which shows how it became a general release-artifact generator for projects that ship binaries across Linux distributions and, later, Windows MSIX.
Package nerds use nFPM either through GoReleaser's `nfpms` section or as the standalone `nfpm` CLI/Go library. The common flow is to describe package name, files, config files, scripts, dependencies, maintainer metadata, and target formats in YAML, then have CI produce distro-shaped packages next to checksums, archives, Homebrew taps, and container images.
Its value is highest for upstream application projects that want acceptable native packages without becoming Debian, RPM, Alpine, Arch, and OpenWrt packaging specialists. It does not replace distribution-maintained packaging policy; it makes upstream release artifacts boring enough for users to install with familiar package tools.
nFPM matters because it sits in the gray zone between tarballs and real distro packages. It gives upstream projects a small, reproducible way to generate packages with maintainer scripts and dependency metadata, while avoiding the heavier machinery of distro-specific packaging repositories.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./nfpm.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nfpm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/goreleaser/nfpm
安装元数据
| 软件包键 | brew:nfpm |
|---|---|
| 版本 | 2.47.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nfpm |
| 主页 | https://nfpm.goreleaser.com/ |
| 仓库 | https://github.com/goreleaser/nfpm |
| 上游文档 | https://nfpm.goreleaser.com/ |
| 许可证 | MIT |
| 源码归档 | https://github.com/goreleaser/nfpm/archive/refs/tags/v2.47.0.tar.gz |
| 最后更新 | 2026-06-21T00:20:41Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nfpm |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nfpm
nix profile install nixpkgs#nfpmnfpm 2.46.3-r0
a simple apk, Deb and RPM packager without external dependencies
sudo apk add nfpmnfpm-doc 2.46.3-r0
a simple apk, Deb and RPM packager without external dependencies (documentation)
sudo apk add nfpm-docnfpm 2.46.3-1.1
Simple deb, rpm, apk and arch linux packager written in Go
https://github.com/goreleaser/nfpm
sudo zypper install nfpmnfpm-bash-completion 2.46.3-1.1
Bash Completion for nfpm
https://github.com/goreleaser/nfpm
sudo zypper install nfpm-bash-completionnfpm-fish-completion 2.46.3-1.1
Fish Completion for nfpm
https://github.com/goreleaser/nfpm
sudo zypper install nfpm-fish-completionnfpm-zsh-completion 2.46.3-1.1
Zsh Completion for nfpm
https://github.com/goreleaser/nfpm
sudo zypper install nfpm-zsh-completionnfpm
sudo port install nfpmmain/nfpm
scoop install main/nfpmgoreleaser.nfpm
winget install --id goreleaser.nfpm -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.