# CLI frameworks and prompts

Read a command line’s arguments, ask questions and draw a tool’s interface in a terminal. 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.

| Rank | Project | Overall | Needed by many | Helps a lot | Holds up over time | Used widely | Vouched for | Safe | Best for |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | [Commander.js](https://elestia.ai/opensource/cli/commander/index.md) | 8.6 | 5.6 | 8.3 | 8.4 | 9.0 | 8.0 | 8.7 | Anyone building a Node.js CLI with options and subcommands who wants a small, stable, well-documented parser with no dependencies. |
| 2 | [Clack](https://elestia.ai/opensource/cli/clack/index.md) | 8.1 | 4.6 | 8.1 | 8.0 | 6.3 | 7.5 | 8.2 | Developers building scaffolders or interactive CLIs who want polished prompts and spinners with little code and few dependencies. |
| 3 | [Ink](https://elestia.ai/opensource/cli/ink/index.md) | 8.1 | 4.2 | 8.1 | 7.9 | 6.8 | 7.9 | 6.6 | Teams that build rich, stateful terminal interfaces such as coding agents, dashboards and multi-step wizards, and that want to write them in React on Node. |
| 4 | [Inquirer.js](https://elestia.ai/opensource/cli/inquirer/index.md) | 7.8 | 4.0 | 8.0 | 7.8 | 6.0 | 7.5 | 8.0 | Node.js CLI authors who want a mature, typed and themable set of interactive prompts with many prompt types and a testing helper. |
| 5 | [oclif](https://elestia.ai/opensource/cli/oclif/index.md) | 7.2 | 4.2 | 7.5 | 8.1 | 4.6 | 7.4 | 6.4 | Teams building a large, long-lived, multi-command CLI that end users or other teams extend with plugins. |
| 6 | [yargs](https://elestia.ai/opensource/cli/yargs/index.md) | 7.0 | 5.3 | 7.5 | 6.7 | 8.0 | 7.6 | 7.9 | Teams building flag-heavy or internal Node CLIs that want built-in validation, coercion, middleware and shell completion out of the box. |
| 7 | [CAC](https://elestia.ai/opensource/cli/cac/index.md) | 6.6 | 4.7 | 6.5 | 6.6 | 5.9 | 6.5 | 7.2 | Authors of small Node.js or Deno build tools who want a tiny, dependency-free parser with sub-commands and dotted options, like Vite's. |
| 8 | [citty](https://elestia.ai/opensource/cli/citty/index.md) | 6.5 | 5.1 | 6.5 | 6.2 | 5.0 | 5.8 | 8.2 | TypeScript developers building small to mid-sized ESM CLIs who want typed args and lazy subcommands without dependencies, especially in the UnJS or Nuxt ecosystem. |
| 9 | [meow](https://elestia.ai/opensource/cli/meow/index.md) | 5.7 | 4.7 | 6.4 | 5.3 | 6.6 | 5.2 | 7.1 | Authors of small, ESM-only Node CLIs with a handful of flags who want zero dependencies and hand-written help text. |
| 10 | [Clipanion](https://elestia.ai/opensource/cli/clipanion/index.md) | 4.3 | 4.7 | 6.6 | 2.6 | 4.1 | 5.8 | 5.9 | Teams that maintain Yarn plugins or existing Clipanion CLIs and want to stay consistent with that code. |

## The numbers

| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
| --- | --- | --- | --- | --- | --- | --- |
| Commander.js | 3B | ×3.1 | 28k | 86 | Nov 2026 | 0 |
| Clack | 176M | ×18 | 8.1k | 129 | Nov 2026 | 0 |
| Ink | 40M | ×5.9 | 40k | 270 | Oct 2026 | 0 |
| Inquirer.js | 251M | ×5.1 | 22k | 505 | Nov 2026 | 0 |
| oclif | 66M | ×4.0 | 319 | 316 | Nov 2026 | 0 |
| yargs | 1.5B | ×2.9 | 12k | 35 | Sept 2026 | 0 |
| CAC | 276M | ×4.2 | 3.2k | 53 | Nov 2026 | 0 |
| citty | 197M | ×6.2 | 1.4k | 41 | Apr 2026 | 0 |
| meow | 198M | +78% | 3.7k | 8 | Feb 2026 | 0 |
| Clipanion | 26M | ×2.1 | 1.3k | 0 | Sept 2024 | 0 |

All categories: https://elestia.ai/opensource/index.md
