CMDLINER-INSTALL(1) Cmdliner Manual CMDLINER-INSTALL(1)

# [NAME](#NAME)

cmdliner-install - Install support files for cmdliner tools

# [SYNOPSIS](#SYNOPSIS)

**cmdliner install** *COMMAND* …

# [DESCRIPTION](#DESCRIPTION)

**cmdliner install** subcommands install cmdliner support files. See the library documentation or invoke subcommands with **--help** for more details.

# [COMMANDS](#COMMANDS)

[**generic-completion** \[**--dry-run**\] \[**--shell**=*SHELL*\] \[**--update-opam-install**=*PKG.install*\] \[*OPTION*\]… *SHAREDIR*](#generic)

Install generic completion scripts

[**tool-completion** \[*OPTION*\]… *TOOLNAME*… *SHAREDIR*](#tool)

Install tool completion scripts

[**tool-manpages** \[**--dry-run**\] \[**--update-opam-install**=*PKG.install*\] \[*OPTION*\]… *TOOLEXEC\[:NAME\]*… *MANDIR*](#tool~2)

Install tool and subcommand manpages

[**tool-support** \[*OPTION*\]… *TOOLEXEC\[:NAME\]*… *PREFIX*](#tool~3)

Install both tool completion and manpages

# [COMMON OPTIONS](#COMMON_OPTIONS)

[**--help**\[=*FMT*\] (default=**auto**)](#help)

Show this help in format *FMT*. The value *FMT* must be one of **auto**, **pager**, **groff** or **plain**. With **auto**, the format is **pager** or **plain** whenever the **TERM** env var is **dumb** or undefined.

[**--version**](#version)

Show version information.

# [EXIT STATUS](#EXIT_STATUS)

**cmdliner install** exits with:

0

on success.

123

on indiscriminate errors reported on standard error.

124

on command line parsing errors.

125

on unexpected internal errors (bugs).

# [SEE ALSO](#SEE_ALSO)

[cmdliner(1)](/man/enterprise-packages/ocaml4-cmdliner/cmdliner.1)

Cmdliner %%VERSION%%

---

Document: cmdliner-install(1) from ocaml4-cmdliner 2.1.1-r2 (Chainguard OS)
Source: https://github.com/dbuenzli/cmdliner
