Lerna vs nFPM
Lerna
lerna.js.orgnFPM
nfpm.goreleaser.comSide by side
| Figure | Lerna | nFPM |
|---|---|---|
| Price from | $29/mo | Free |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | Yes |
| Windows | Yes | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Self-hosted | Yes | — |
| Plans published | 3 | 1 |
| Spec score · Release automation tools | 8.1 (#4) | 7.8 (#8) |
| Support | The Nx Cloud Hobby plan includes community support, while the Team plan includes email support and Enterprise includes dedicated support and SLAs. | The repository directs users with questions or support needs to the GoReleaser community. |
Plans
In their own words
Lerna
Lerna is a free, open-source build system for managing and publishing JavaScript and TypeScript packages from one repository. It runs commands across projects in an efficient order and can parallelize tasks, cache results, and distribute work across machines. When task files and terminal output are already in its computation cache, Lerna can restore them instead of rerunning the task. It manages package versioning and npm publishing, with fixed or independent versioning workflows, and includes an interactive graph for viewing workspace structure and dependencies. Lerna uses Nx to identify workspace packages and dependencies and to run scripts with parallelism, caching, and distribution. It supports npm, yarn, pnpm, and bun; dependency installation and linking should be handled through those package managers’ workspace features. Nx Cloud has a free Hobby plan, a Team plan at $29 a month, and Enterprise with custom pricing. For closed-source projects, Nx Cloud provides the first 500 computation hours per month free, then charges $1 per computation hour. Its Hobby plan includes 50,000 credits monthly, five contributors, 10 concurrent CI connections, and community support.
nFPM
nFPM is a free Go tool for creating DEB, RPM, APK, IPK, Arch Linux, and MSIX software packages. It can be run from the command line or used as a Go library, and the project describes it as a single binary without external runtime dependencies. Package definitions use YAML and can specify metadata, files, dependencies, scripts, and format-specific overrides. Installation options include package managers, prebuilt archives, Docker, Go install, or building from source; documented package managers include Homebrew, Scoop, APT, Yum, Winget, and NPM. GoReleaser can use nFPM to generate and publish Linux packages and Windows MSIX packages. The project lists Linux, macOS, and Windows as target platforms and identifies its license as MIT. The install guide says release artifacts are checksummed and the checksum is signed with cosign; Docker images are also signed with cosign. MSIX support is described as experimental, and symlinks are skipped. The project presents nFPM as an option for users who want package creation without dependencies such as Ruby and tar.