# nfpm を Homebrew, apk, MacPorts, Nix, zypper, scoop, winget でインストール

nfpm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:nfpm
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install nfpm
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install nfpm
```

  証拠: MacPorts ports tree: sysutils/nfpm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add nfpm
```

  証拠: Alpine Linux edge package indexes: nfpm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#nfpm
```

  証拠: nixpkgs package indexes: pkgs/by-name/nf/nfpm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install nfpm
```

  証拠: openSUSE Tumbleweed package metadata: nfpm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/nfpm
```

  証拠: Scoop official bucket manifest trees: bucket/nfpm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id goreleaser.nfpm -e
```

  証拠: Windows Package Manager source index: goreleaser.nfpm from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:nfpm
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/nfpm>
- **バージョン:** 2.47.0
- **ソース概要:** Simple deb and rpm packager
- **ホームページ:** <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-07-26T19:43:15+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- nfpm (cli)
- nfpm (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.47.0
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/goreleaser/nfpm
- 検出された最新: v2.47.0 (最新)
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2018-02-23: Carlos Becker published "Creating debs and rpms with Go" and described why nFPM was created.
- 2018: GoReleaser was moving away from fpm toward nFPM for its Linux package pipeline.
- 2026-06-23: GoReleaser's nFPM documentation listed Linux formats plus MSIX and Termux-specific packaging behavior.

### Related projects

- GoReleaser
- fpm
- Debian dpkg
- RPM
- Alpine apk
- Arch Linux pacman

### ソース

- <https://carlosbecker.com/posts/nfpm/>
- <https://formulae.brew.sh/formula/nfpm>
- <https://github.com/goreleaser/nfpm>
- <https://goreleaser.com/customization/package/nfpm/>
- <https://nfpm.goreleaser.com/docs/quick-start/>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

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.


## Configuration files

- Unix: ./nfpm.yaml
## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- Nix - nfpm: normalized package name match | nixpkgs package indexes: pkgs/by-name/nf/nfpm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - nfpm - 2.47.0-r1: normalized package name match | Alpine Linux edge package indexes: nfpm from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a simple apk, Deb and RPM packager without external dependencies | https://nfpm.goreleaser.com/
- apk - nfpm-doc - 2.47.0-r1: normalized package name match | Alpine Linux edge package indexes: nfpm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a simple apk, Deb and RPM packager without external dependencies (documentation) | https://nfpm.goreleaser.com/
- zypper - nfpm - 2.47.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: nfpm from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Simple deb, rpm, apk and arch linux packager written in Go | https://github.com/goreleaser/nfpm
- zypper - nfpm-bash-completion - 2.47.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: nfpm-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for nfpm | https://github.com/goreleaser/nfpm
- zypper - nfpm-fish-completion - 2.47.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: nfpm-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for nfpm | https://github.com/goreleaser/nfpm
- zypper - nfpm-zsh-completion - 2.47.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: nfpm-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for nfpm | https://github.com/goreleaser/nfpm
- MacPorts - nfpm: normalized package name match | MacPorts ports tree: sysutils/nfpm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/nfpm: normalized package name match | Scoop official bucket manifest trees: bucket/nfpm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - goreleaser.nfpm: normalized package name match | Windows Package Manager source index: goreleaser.nfpm from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Package publisher tools](https://pkg.so/ja/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [melange](https://pkg.so/ja/brew/melange/) - Shares pkgdb curated category or tags: apk, cli, developer-tools, packaging.
- [rpmspectool](https://pkg.so/ja/brew/rpmspectool/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging, rpm.
- [create-dmg](https://pkg.so/ja/brew/create-dmg/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [pyinstaller](https://pkg.so/ja/brew/pyinstaller/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [python-build](https://pkg.so/ja/brew/python-build/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [snapcraft](https://pkg.so/ja/brew/snapcraft/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [msitools](https://pkg.so/ja/brew/msitools/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [cargo-bundle](https://pkg.so/ja/brew/cargo-bundle/) - Shares pkgdb curated category or tags: cli, developer-tools, packaging.
- [yeet](https://pkg.so/ja/brew/yeet/) - Local package facts share a topical domain. Shared terms: cli, deb, developer, developer-tools, packaging.

## Combined YAML source

View the package source record on GitHub. [combined/nfpm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/nfpm.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
