nfpm 2.45.0
nFPM is Not FPM - a zero dependencies, simple deb, rpm, apk, ipk, and arch linux packager written in Go
Requires Python: >=3.10

<p align="center">
  <img alt="GoReleaser Logo" src="https://becker.software/nfpm.png" height="140" />
  <p align="center">
    <a href="https://github.com/goreleaser/nfpm/releases/latest"><img alt="Release" src="https://img.shields.io/github/release/goreleaser/nfpm.svg?style=for-the-badge"></a>
    <a href="/LICENSE.md"><img alt="Software License" src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=for-the-badge"></a>
    <a href="https://github.com/goreleaser/nfpm/actions?workflow=build"><img alt="GitHub Actions" src="https://img.shields.io/github/actions/workflow/status/goreleaser/nfpm/build.yml?style=for-the-badge&branch=main"></a>
    <a href="https://codecov.io/gh/goreleaser/nfpm"><img alt="Codecov branch" src="https://img.shields.io/codecov/c/github/goreleaser/nfpm/main.svg?style=for-the-badge"></a>
    <a href="https://goreportcard.com/report/github.com/goreleaser/nfpm"><img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/goreleaser/nfpm?style=for-the-badge"></a>
    <a href="https://pkg.go.dev/github.com/goreleaser/nfpm/v2"><img alt="Go Doc" src="https://img.shields.io/badge/godoc-reference-blue.svg?style=for-the-badge"></a>
    <a href="https://github.com/goreleaser"><img alt="Powered By: GoReleaser" src="https://img.shields.io/badge/powered%20by-goreleaser-green.svg?style=for-the-badge"></a>
  </p>
</p>

## Why

While [fpm][] is great, for me, it is a bummer that it depends on `ruby`, `tar`
and other software.

I wanted something that could be used as a binary and/or as a library and that
was really simple.

So I created nFPM: a simpler, 0-dependency, as-little-assumptions-as-possible alternative to fpm.

## Getting started

Install [nfpm](https://pypi.org/project/nfpm/) using your favorite tool. For example using [uv](https://docs.astral.sh/uv/):

```sh
uv add --dev nfpm
```

You will then have the command `nfpm` (or `nfpm.exe` on Windows) available in your PATH.

```py
import subprocess
subprocess.run(['nfpm', '--help'], check=True)
```

You can then check the documentation of the nfpm command:

- [Getting Started](https://nfpm.goreleaser.com)
- [Usage](https://nfpm.goreleaser.com/usage/)
- [Configuration reference](https://nfpm.goreleaser.com/configuration/)

## Used and supported by

<p>
  <a href="https://wails.io">
    <img src="https://github.com/user-attachments/assets/e55bbae4-9551-49f1-92ea-ea9223b91fc0" width="120px" alt="wails icon" />
  </a>
  <br/>
  <br/>
  <b>Build beautiful cross-platform applications using Go.</b>
  <br/>
</p>

## Special thanks 🙏

Thanks to the [fpm][] authors for fpm, which inspires nfpm a lot.

## Community

You have questions, need support and or just want to talk about GoReleaser/nFPM?

Here are ways to get in touch with the GoReleaser community:

[![Join Discord](https://img.shields.io/badge/Join_our_Discord_server-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/RGEBtg8vQ6)
[![Follow Twitter](https://img.shields.io/badge/follow_on_twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/goreleaser)
[![GitHub Discussions](https://img.shields.io/badge/GITHUB_DISCUSSION-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/goreleaser/nfpm/discussions)

## Donate

Donations are very much appreciated! You can donate/sponsor on the main
[goreleaser opencollective](https://opencollective.com/goreleaser)! It's
easy and will surely help the developers at least buy some ☕️ or 🍺!

## Stargazers over time

[![Stargazers over time](https://starchart.cc/goreleaser/nfpm.svg?variant=adaptive)](https://starchart.cc/goreleaser/nfpm)

---

[fpm]: https://github.com/jordansissel/fpm