Elestia Open Source Ratings
7.8

Inquirer.js

A strong pick. 4th of 10 CLI frameworks and prompts.

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.

GitHubnpm

Scores

Overall7.8

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.5, likely 6.5 to 8.0

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, likely 7.0 to 9.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 many4.0

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.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.

  • category.job: The category covers args, prompts and TUIs; Inquirer covers prompts only
  • CLI tool landscape: Prompts serve mostly scaffolders and interactive tools

GPT-6.2 Sol: 4.0, likely 2.7 to 5.4

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 lot8.0

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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, likely 7.2 to 9.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 time7.8

Will it still be a good choice in two years?

Claude Opus 5.5: 8.0, likely 7.0 to 9.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, likely 6.2 to 8.6

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 widely6.0

How many use it, and is that growing?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 251.5M vs 49.5M, ratio 5.1
  • peers Clack downloads: Clack 175.5M vs 9.9M, ratio 17.7
  • github stars: 21.6k stars
  • dependents: 73 repos and 495 packages, likely undercounted

GPT-6.2 Sol: 4.4, likely 3.0 to 5.9

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 for7.5

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.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, likely 6.8 to 9.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.

Safe8.0

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.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.

  • advisories total: 0 advisories
  • scorecard score: 6.6; Token-Permissions 0, Branch-Protection 3
  • npm dependencies: 10 dependencies, mostly its own sub-packages
  • npm license: MIT

GPT-6.2 Sol: 8.0, likely 6.8 to 9.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

npm downloads, 4 weeks
251M ×5.1 in a year
GitHub stars
22k
Commits, 12 months
505
npm version
8.8.0 Nov 2026
Versions, 12 months
22
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
6.6 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (SBoudrias/Inquirer.js), npm (@inquirer/prompts), OSV and the OpenSSF Scorecard.

CLI frameworks and prompts

  1. 8.6Commander.js
  2. 8.1Clack
  3. 8.1Ink
  4. 7.8Inquirer.js
  5. 7.2oclif
  6. 7.0yargs
  7. 6.6CAC
  8. 6.5citty
  9. 5.7meow
  10. 4.3Clipanion
Compare all 10 on six scores