Type-safe CLI library with no runtime dependencies


Clipanion provides type inference for the options you declare: no duplicated types to write and keep in sync.

The core is implemented using a functional approach, letting most bundlers only keep what you actually use.

Clipanion supports subcommands, arrays, counters, execution contexts, error handling, option proxying, and much more.

Clipanion is used to power Yarn - likely one of the most complex CLI used everyday by the JavaScript community.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-clipanion