1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-27 04:46:13 +02:00
nfpm/www/docs/usage.md
Carlos Alexandro Becker 62357a65e2
feat: version as v2 (#268)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-23 13:25:57 +00:00

700 B

Usage

Command Line

To create a sample config file, run:

$ nfpm init

You can then customize it and package to the formats you want:

$ nfpm pkg --packager deb --target /tmp/
using deb packager...
created package: /tmp/foo_1.0.0_amd64.deb

$ nfpm pkg --packager rpm --target /tmp/
using rpm packager...
created package: /tmp/foo-1.0.0.x86_64.rpm

Go Library

Check the GoDocs page, as well as NFPM command line implementation and GoReleaser's usage.