All apps/fpm

fpm

fpm

The goal of fpm is to make it easy and quick to build packages such as rpms, debs, OSX packages, etc.

Runs as fpm|macOS, Linux, Windows|fpm.readthedocs.io

Command form

ai-draft · 2 tasks · 17 fields

Build a package (deb, rpm, tar, ...) from a directory, gem, python package or other input with fpm. Per-format options and maintainer scripts are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui fpm
Build a packageExample values, fixed in this page — nothing here reaches a terminal
Basic
Input type
dirstring
Output type
debstring
Package name*
string
Version*
1.0string
Inputs*
string
TasksEach one presets the form for one job
Directory to .deb
inputsnameversionoutput_typeinput_type
Directory to .rpm
inputsnameversionoutput_typeinput_type
ParametersOnly these flags are editable in the form
Inputs
For the dir type: files and directories to include. For gem, python and similar types: the package names to fetch.
string · positional 0 · repeatable
Input type
string
-s--input-typedirgempythonnpmrpmdeb
Output type
string
-t--output-typedebrpmtarziposxpkgapk
Package name
string
-n--name
Version
string · default: 1.0
-v--version
Iteration / release
string
--iteration
Architecture
string
-a--architecturenativeall
Dependencies
string · repeatable
-d--depends
Change directory first
path
-C--chdir
Install prefix
string
--prefix
Output package path
path
-p--package
Overwrite existing package
boolean
-f--force
Maintainer
string
-m--maintainer
License
string
--license
Description
string
--description
Project URL
url
--url
Exclude patterns
string · repeatable
-x--exclude
SourcesEvery flag above is checked against these
help
[ARGS] ... Inputs to the source package type. For the 'dir' type, this is the files and directories you want to include in the package. -t, --output-type OUTPUT_TYPE the type of package you want to create (deb, rpm, solaris, etc) -s, --input-type INPUT_TYPE the package type to use as input (gem, rpm, python, etc) -C, --chdir CHDIR C…
helpfpm 1.18.0 (fpm --help)

Before it fills your prompt, Otty checks the installed fpm against its version. A form that does not match your version is not offered.