1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-11-18 00:13:51 +01:00
nfpm/www/docs/usage.md
Carlos A Becker 074c2de8e7
docs: fix url
2021-11-12 17:21:09 -03:00

700 B

Usage

nFPM can be used both as command line tool or as a library.

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/
nfpm pkg --packager rpm --target /tmp/

You can learn about it in more detail in the command line reference section.

Go Library

Check out the GoDocs page, the nFPM command line implementation and GoReleaser's usage.