# Inquirer.js: 7.8 out of 10

A strong pick. 4th of 10 in [CLI frameworks and prompts](https://elestia.ai/opensource/cli/index.md).

Inquirer.js (@inquirer/prompts) is the long-standing library of interactive terminal prompts: input, select, checkbox, search, editor, password and more. It is very actively maintained and widely trusted. It is still a strong pick for interactive CLIs, although Clack is growing much faster as the lighter, better-looking alternative.

**Best for:** Node.js CLI authors who want a mature, typed and themable set of interactive prompts with many prompt types and a testing helper.

## Scores

- **Overall: 7.8** (likely 6.8 to 8.6)
  - Claude Opus 5.5 (7.5): It is a strong, very well maintained prompt library, with the widest set of prompt types and a long production record. Clack is a credible peer, lighter and better looking, and new projects are moving to it fast. That makes Inquirer a strong pick rather than the clear default. Pair it with an argument parser such as Commander.
  - GPT-6.2 Sol (8.1): Inquirer is a strong choice for new CLIs that need varied, typed prompts, especially searchable menus or editor input. Its release cadence and use in established tools support that recommendation, while the recent runtime cutoff raises the cost of supporting older Node versions. Commander is a better starting point for argument parsing, Ink for full terminal interfaces, and Clack is competitive for setup wizards that want built-in grouping and spinners.
- **Needed by many: 4.0** (likely 2.9 to 5.2)
  - Claude Opus 5.5 (4.0): Interactive prompts are only one part of the category's job. They matter mainly to developers who build CLIs, scaffolders and setup wizards. Many CLI tools need only argument parsing and never ask questions.
  - GPT-6.2 Sol (4.0): Interactive questions are a recurring need in installers, project generators, and administrative tools. Inquirer covers the prompting portion of the CLI category. The Stack Overflow survey shows that Node.js is widely used, but it gives no estimate of how many developers build interactive terminal tools.
- **Helps a lot: 8.0** (likely 6.9 to 9.0)
  - Claude Opus 5.5 (7.5): It has a rich set of prompt types, first-class TypeScript types, themes, i18n, a custom-prompt core and a testing package. Recent fixes cover edge cases such as piped stdin and Windows keypress freezes. Clack has a more modern look, a smaller size and a simpler sequential API, which keeps the score below the top.
  - GPT-6.2 Sol (8.4): Version 8.8.0 has a broad prompt set, typed async functions, test helpers, and clear examples that give coding agents a good pattern to follow. An independent terminal test of 8.7.4 exercised selection, password masking, and cancellation. Callers still handle cancellation and some terminal stream quirks, and evidence on performance and coding-agent accuracy is limited.
- **Holds up over time: 7.8** (likely 6.6 to 8.8)
  - Claude Opus 5.5 (8.0): The project has run since 2013 and is very active, with 505 commits, 119 releases and a small issue backlog. Two things hold the score back. It leans on one lead maintainer, and its breaking changes come often: ESM-only in v8, and Node 22 required since 8.8.0.
  - GPT-6.2 Sol (7.5): The package shipped 22 versions in a year, and a Windows input report drew a same-day response and later confirmation from the reporter that an upgrade worked. Recent release pages name the same maintainer, and the public sponsorship page shows modest backing. The ESM transition in 8.0 and the Node 20 cutoff in the 8.8 minor release make future upgrade costs harder to predict.
- **Used widely: 6.0** (likely 4.8 to 7.2)
  - Claude Opus 5.5 (7.5): It had about 251M downloads in 4 weeks, up 5.1x on a year ago, which is above the 4.1x median. Much of that volume is transitive, through the legacy `inquirer` package and big CLIs. Clack grew about 18x in the same period, so Inquirer is losing share of new choices. The ecosyste.ms dependents count looks like an undercount for this scoped package.
  - GPT-6.2 Sol (4.4): Four-week downloads rose 5.08× year over year, above the 4.1× catalog baseline and well below Clack’s 17.72×. Popular downstream CLIs generate indirect installs, and the 21,643 stars cover both the older package and the newer prompt modules. The collector found 73 dependent repositories and 495 dependent packages, and Clack had more Bluesky attention. Partial dependency coverage and indirect installs leave the number of projects choosing it directly uncertain.
- **Vouched for: 7.5** (likely 6.4 to 8.5)
  - Claude Opus 5.5 (7.0): Major tools have relied on it for years, including Angular's tooling, the NestJS CLI and Yeoman, and independent overviews call it the mature, well-documented choice. No developer survey reports on prompt libraries, and recent write-ups favour Clack for new work.
  - GPT-6.2 Sol (8.0): Angular CLI uses it for schematics, Firebase CLI wraps it for interactive input, and Vercel’s create-turbo ships it alongside Commander. Those are concrete choices by teams with command-line tools to maintain. Some downstream users still ship version 7, and Skuba moved to Clack, so the evidence is stronger for Inquirer’s prompt API than for a clear lead on the current release.
- **Safe: 8.0** (likely 6.9 to 9.0)
  - Claude Opus 5.5 (8.0): It has no OSV advisories ever, an MIT licence, and its 10 dependencies are mostly its own @inquirer packages. The OpenSSF Scorecard of 6.6 shows weak token permissions and branch protection. Publishing rests mostly on one maintainer.
  - GPT-6.2 Sol (8.0): The package is MIT-licensed, and the OSV snapshot lists zero direct advisories. Its ten direct dependencies are all Inquirer prompt modules, and the current editor module requires a version newer than the fix for a reported low-severity issue. Releases use npm Trusted Publishing and staged approval with two-factor authentication, and GitHub verifies the 8.8.0 tag signature. Weak repository-wide scores for token permissions and branch protection, along with uncertainty about how many maintainers can approve releases, keep the range open.

## Good

- It has the widest set of ready-made prompt types, including search, editor, expand, rawlist and number, and each prompt is also published as its own package.
- Maintenance is very active: 505 commits and 119 releases in the last year, with only 10 open issues.
- Prompts are themable and have i18n, abort-signal support and a @inquirer/testing package for unit tests.
- Major Node tools such as Angular's tooling and the NestJS CLI rely on it, and it has no known security advisories.

## Bad

- It only does prompts: you still need Commander, yargs or citty to parse arguments.
- Clack gives a more polished default look and a smaller footprint, and most new-project write-ups now recommend Clack first.
- Recent majors brought breaking changes: v8 is ESM-only, and Node 22 is now the minimum. Some modules from the old `inquirer` API are hard to migrate.
- Releases depend mostly on one lead maintainer.

## The numbers

- Downloads, 4 weeks: 251M
- In a year: ×5.1
- GitHub stars: 22k
- Commits, 12 months: 505
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/SBoudrias/Inquirer.js
- npm: https://www.npmjs.com/package/@inquirer/prompts

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.
