# Clipanion: 4.3 out of 10

Keep, but not for new work. 10th of 10 in [CLI frameworks and prompts](https://elestia.ai/opensource/cli/index.md).

Clipanion is a class-based, strongly typed TypeScript command-line parser that powers Yarn Modern. The design is good, but there has been no commit or release since September 2024, and npm's latest tag points to a 4.0 release candidate. Keep it where it already runs, but pick Commander.js, citty or CAC for new work.

**Best for:** Teams that maintain Yarn plugins or existing Clipanion CLIs and want to stay consistent with that code.

## Scores

- **Overall: 4.3** (likely 3.2 to 5.3)
  - Claude Opus 5.5 (4.0): The design is excellent for large typed CLIs, but development has stopped since 2024 and npm installs a release candidate by default. Every peer in the bundle is active. Commander.js, citty and CAC give typed parsing with live maintenance, and oclif covers large multi-command CLIs. Keep it where it already runs, and avoid it for new projects unless you are inside the Yarn ecosystem.
  - GPT-6.2 Sol (4.5): Clipanion 3.2.1 remains a capable parser for existing class-based CLIs, especially when commands forward many flags. Commander.js is the stronger default for a new CLI because it covers the common parsing needs and ships fixes regularly. The range reflects how valuable Clipanion’s typed command model and flag forwarding are to a particular project.
- **Needed by many: 4.7** (likely 3.6 to 5.7)
  - Claude Opus 5.5 (5.0): Many JS/TS developers build a CLI at some point, but Clipanion covers only argument parsing and command routing. It does not cover prompts or terminal UI. Its class-based style suits large multi-command tools more than quick scripts.
  - GPT-6.2 Sol (4.3): Clipanion fits developers building Node.js command-line tools, especially tools with several subcommands. Its class-based parser covers one part of the category, and prompts and terminal rendering require other packages. Terminal usage surveys do not measure how many developers write their own CLIs, so the size of that group is uncertain.
- **Helps a lot: 6.6** (likely 5.5 to 7.6)
  - Claude Opus 5.5 (6.0): Its type inference and parser are among the strongest in the category, and they work in Yarn. Several correctness bugs remain open: errors go to stdout, help output is wrong for commands with multiple paths, and an ESM build problem was reported. The docs site has had SSL and edit-link problems. AI agents also see fewer examples of it than of Commander or yargs.
  - GPT-6.2 Sol (7.1): Stable 3.2.1 combines inferred option types, nested command paths, flag forwarding, and generated help. The option declarations and examples give coding agents a clear pattern to follow, though users report confusing diagnostics for missing required options. Comparative speed and agent accuracy on 3.2.1 remain uncertain.
- **Holds up over time: 2.6** (likely 1.6 to 4.0)
  - Claude Opus 5.5 (2.5): The bundle shows no commits and no releases in the last year. The last push was September 2024, and v4 has stayed at rc.4 since then. It depends on one maintainer. Yarn's dependence on it may keep it alive, but issues filed in 2025-2026 have had no response.
  - GPT-6.2 Sol (2.7): The repository recorded zero commits in the last year, and the last npm publication was a September 2024 release candidate. Lazy command loading and shell completion still have long-open pull requests, while Commander.js, yargs, and oclif all published in 2026. Continued downstream use gives Clipanion a reason to survive, but the next upstream release is uncertain.
- **Used widely: 4.1** (likely 3.0 to 5.1)
  - Claude Opus 5.5 (4.0): About 26M downloads in 4 weeks looks large, but most come in through Yarn-related and tool packages rather than direct choice. The year-over-year ratio of 2.1 is well below the 4.1 median, so it is losing ground. 8.5k dependent repos is similar to citty and oclif but far behind Commander, yargs and CAC.
  - GPT-6.2 Sol (4.1): ecosyste.ms found 8,523 dependent repositories and 317 packages, close to citty’s repository count and well below CAC and Commander.js. Downloads rose from 12.1 million to 25.9 million, a 2.13× increase against the 4.1× catalog median, suggesting it is losing ground. Yarn packages install it transitively, and the available counts leave the number of direct choices uncertain.
- **Vouched for: 5.8** (likely 4.7 to 6.8)
  - Claude Opus 5.5 (5.0): Yarn Modern runs on it, which is strong proof that it can handle a complex CLI. Beyond that, independent write-ups are few and mostly old, such as a 2020 Medium post. It appears in no recent surveys or benchmarks.
  - GPT-6.2 Sol (6.5): Datadog’s CI CLI still uses stable 3.2.1, and Debian ships it. Yarn is strong evidence that Clipanion handles a large command tree, though it shares a lead maintainer and currently specifies the 4.0 release candidate line. These deployments give better evidence than download totals, while current satisfaction and performance data are scarce.
- **Safe: 5.9** (likely 4.8 to 7.3)
  - Claude Opus 5.5 (6.0): It has no advisories, a single small dependency (typanion) and an MIT licence on npm. The OpenSSF Scorecard is 2.6, with no branch protection, no security policy and no pinned dependencies. There is one publisher, and the release tag on npm is a release candidate.
  - GPT-6.2 Sol (5.7): Clipanion has a permissive MIT license, one runtime dependency, and zero OSV advisories in the snapshot. OpenSSF scores it 2.6, with weak branch protection, workflow token permissions, and code review, and GitHub lists no security policy. The public maintainer listing shows one account, and the long release gap makes the speed of a future security fix uncertain.

## Good

- Option types are inferred from class properties, so commands are type-safe without extra annotations.
- It handles complex CLIs with nested commands, option proxying and a state-machine parser, and it is proven at Yarn's scale.
- Validation through Typanion is optional and well integrated, and help pages are generated automatically.
- It has a tiny dependency footprint and no known security advisories.

## Bad

- There have been no commits or releases since September 2024, and bug reports from 2025-2026 have no response.
- npm's latest tag installs 4.0.0-rc.4, a release candidate, and there is no changelog.
- It does argument parsing only, with no prompts or terminal UI, so interactive tools need a second library.
- There are open bugs: errors are written to stdout, help output is wrong for commands with multiple paths, and negative-number values are not supported.

## The numbers

- Downloads, 4 weeks: 26M
- In a year: ×2.1
- GitHub stars: 1.3k
- Commits, 12 months: 0
- Last npm release: Sept 2024
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/arcanis/clipanion
- npm: https://www.npmjs.com/package/clipanion

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
