Clipanion
Keep, but not for new work. 10th of 10 CLI frameworks and prompts.
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
Overall4.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 4.0, likely 3.0 to 5.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.
- github commitsLastYear: 0, while every peer has 8-505 commits.
- npm latestVersion: 4.0.0-rc.4 is the latest tag.
- github.com/arcanis/clipanion/issues: Bugs pile up without fixes.
GPT-6.2 Sol: 4.5, likely 3.4 to 5.6
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.
- app.unpkg.com/clipanion@3.2.1/files/README.md: Stable release demonstrates typed command classes and flag forwarding.
- npmjs.com/package/clipanion?activeTab=versions: The default npm tag is a release candidate and stable 3.2.1 is older.
- github.com/tj/commander.js/releases: Commander.js continues to ship stable parser fixes.
- github commitsLastYear, peers Commander.js commitsLastYear and dependentRepos: Commander.js leads on recent maintenance and adoption.
Needed by many4.7
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.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.
- github.com/arcanis/clipanion: The listed features are parsing, nested commands and help, with no prompts.
- medium.com/swlh/getting-started-with-clipanion-the-cli-library-that-powers-yarn-modern-92ba89f9c745: Commands are defined as classes, a style aimed at structured CLIs.
GPT-6.2 Sol: 4.3, likely 3.2 to 5.4
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.
- warp.dev/state-of-the-cli-2023: Measures terminal workflows among a terminal-heavy sample.
- app.unpkg.com/clipanion@3.2.1/files/README.md: Stable release documents command classes, argument parsing, and help.
- optique.dev/compare/clipanion: Shows the Node.js command model and the need for separate prompt handling.
Helps a lot6.6
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- github.com/arcanis/clipanion/issues: Open bugs from 2024-2026 have not been fixed.
- github.com/arcanis/clipanion: Advanced typing, a state-machine parser and Typanion validation
- npm hasTypes: Ships its own TypeScript types.
GPT-6.2 Sol: 7.1, likely 6.0 to 8.2
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.
- app.unpkg.com/clipanion@3.2.1/files/README.md: Stable examples show type inference, coercion, help, and flag forwarding.
- github.com/arcanis/clipanion/issues/136: User shows a misleading error for a missing required option.
- github.com/DataDog/datadog-ci/blob/master/CONTRIBUTING.md: Shows the class-based API in a larger TypeScript CLI.
Holds up over time2.6
Will it still be a good choice in two years?
Claude Opus 5.5: 2.5, likely 1.5 to 4.0
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.
- github commitsLastYear / releasesLastYear: Both are 0; the last push was 2024-09-06.
- scorecard Maintained: Scored 0.
- socket.dev/npm/package/clipanion: Flags weak release cadence and reports one maintainer.
- github.com/arcanis/clipanion/issues: Recent issues have no maintainer reply.
GPT-6.2 Sol: 2.7, likely 1.6 to 3.9
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.
- github commitsLastYear, npm latestPublishedAt and versionsLastYear: Zero commits or npm releases in the past year.
- npmjs.com/package/clipanion?activeTab=versions: 3.2.1 is the newest stable version and 4.0 remains in release candidate status.
- github.com/arcanis/clipanion/pulls: Lazy commands and experimental completion remain open.
- peers Commander.js, yargs, and oclif latestPublishedAt: All three peers published updates in 2026.
Used widely4.1
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 5.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.
- npm downloadsLast4Weeks vs downloadsSame4WeeksYearAgo: 25.9M vs 12.1M, a ratio of 2.1, below the 4.1 median.
- dependents repos: 8,523 repos and 317 packages
- bluesky posts / hackerNews stories: 0 for both, so there is no current attention.
GPT-6.2 Sol: 4.1, likely 3.0 to 5.2
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.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo, medianDownloadsRatio: 2.13× download growth versus the 4.1× baseline.
- dependents, peers dependentRepos, github stars, and bluesky posts: 8,523 repositories, 317 packages, 1,258 stars, and zero counted Bluesky links.
- npmjs.com/package/%40yarnpkg/plugin-pnp?activeTab=dependencies: A default Yarn plugin lists Clipanion as a dependency.
Vouched for5.8
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 4.0 to 6.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.
- medium.com/swlh/getting-started-with-clipanion-the-cli-library-that-powers-yarn-modern-92ba89f9c745: A 2020 independent tutorial that praises it
- dev.to/thegdsks/building-a-production-typescript-cli-in-2026-oclif-vs-commander-vs-custom-9ah: This 2026 comparison focuses on oclif and Commander, not Clipanion.
- Yarn Berry uses clipanion: Its main production backer
GPT-6.2 Sol: 6.5, likely 5.4 to 7.6
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.
- raw.githubusercontent.com/DataDog/datadog-ci/master/packages/base/package.json: Datadog’s CLI declares a dependency on stable 3.2.1.
- sources.debian.org/src/node-clipanion: Debian distributes builds of 3.2.1.
- raw.githubusercontent.com/yarnpkg/berry/master/packages/yarnpkg-cli/package.json: Yarn’s CLI declares a dependency on the 4.0 release candidate line.
- github.com/arcanis: Confirms the maintainer overlap between Yarn and Clipanion.
Safe5.9
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 5.0 to 7.5
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.
- advisories total: 0 advisories
- scorecard score: 2.6, with weak Branch-Protection, Security-Policy and Token-Permissions
- npm dependencies: 1 runtime dependency
- npm license: MIT on npm; GitHub detects no licence.
GPT-6.2 Sol: 5.7, likely 4.5 to 7.0
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.
- app.unpkg.com/clipanion@3.2.1/files/package.json: The stable npm manifest lists MIT and one dependency, Typanion.
- advisories total, scorecard score and checks: Zero known OSV advisories and weak repository safeguards.
- github.com/arcanis/clipanion/security/policy: GitHub detects no security policy.
- intel.aikido.dev/packages/npm/clipanion: Lists one package maintainer.
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
- npm downloads, 4 weeks
- 26M ×2.1 in a year
- GitHub stars
- 1.3k
- Commits, 12 months
- 0
- npm version
- 4.0.0-rc.4 Sept 2024
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 2.6 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (arcanis/clipanion), npm (clipanion), OSV and the OpenSSF Scorecard.