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.
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.
- github commitsLastYear: Very active maintenance
- peers Clack downloads: Clack is growing much faster
- github.com/SBoudrias/Inquirer.js/releases: Steady releases with feature work
- dev.to/chengyixu/clackprompts-the-modern-alternative-to-inquirerjs-1ohb: Clack is positioned as the modern alternative
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.
- raw.githubusercontent.com/SBoudrias/Inquirer.js/refs/tags/@inquirer/prompts@8.8.0/packages/prompts/README.md: Ten prompt types, extension API, and usage examples
- github.com/SBoudrias/Inquirer.js/releases/tag/@inquirer%2Fprompts@8.8.0: Current stable release and runtime cutoff
- raw.githubusercontent.com/angular/angular-cli/main/packages/angular/cli/package.json: Angular CLI pins the current prompt release
- github.com/tj/commander.js: Argument parsing, subcommands, and help
- github.com/vadimdemedes/ink: Component-based terminal layouts
- irurueta.com/apps/cli/interactive-prompts-and-line-editing.html: Independent comparison covers Clack’s groups 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.
- survey.stackoverflow.co/2026/technology/data: Node.js use among respondents to the web technology question
- irurueta.com/apps/cli/interactive-prompts-and-line-editing.html: Distinguishes structured prompts from line editing and broader terminal interfaces
- github.com/angular/angular-cli/blob/main/packages/angular_devkit/schematics_cli/bin/schematics.ts: Uses prompts to collect answers for project generators
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.
- github.com/SBoudrias/Inquirer.js/releases: Recent fixes to validation, theming, i18n and stdin edge cases
- socket.dev/npm/package/@inquirer/prompts/overview/^4.3.3: Described as having more prompt types and more extensive docs than Clack
- dev.to/chengyixu/clackprompts-the-modern-alternative-to-inquirerjs-1ohb: Write-up says Clack is lighter and has nicer ergonomics
- npm hasTypes: Ships its own types
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.
- raw.githubusercontent.com/SBoudrias/Inquirer.js/refs/tags/@inquirer/prompts@8.8.0/packages/prompts/README.md: Prompt examples, test helpers, custom streams, and cancellation handling
- irurueta.com/apps/cli/interactive-prompts-and-line-editing.html: Independent pseudo-terminal test and comparison with Clack
- github.com/SBoudrias/Inquirer.js/releases/tag/@inquirer%2Fprompts@8.8.0: Fixes for selection, optional number validation, and themes
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.
- github commitsLastYear / releasesLastYear: 505 commits and 119 releases in the last year
- github openIssues: 10 open issues against 971 closed
- github.com/SBoudrias/Inquirer.js/releases: 8.8.0 dropped Node 20 support
- github.com/angular/dev-infra/pull/3259: v8 major was ESM-only with a higher Node minimum
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.
- npm.versionsLastYear: 22 releases of the measured package
- github.com/SBoudrias/Inquirer.js/issues/2095: Same-day response and reporter confirmation after upgrading
- github.com/SBoudrias/Inquirer.js/releases: Recent releases are credited to the same maintainer
- github.com/sponsors/SBoudrias: Public sponsorship page lists three current sponsors
- github.com/SBoudrias/Inquirer.js/releases/tag/@inquirer%2Fprompts@8.0.0: ESM-only transition and removal of deprecated APIs
- github.com/SBoudrias/Inquirer.js/releases/tag/@inquirer%2Fprompts@8.8.0: Dropped Node 20 within the 8.x line
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.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 251.5 million versus 49.5 million installs, with a 4.1× baseline
- dependents, github.stars, bluesky.posts, peers: 73 observed repositories, 495 packages, and five Bluesky posts versus Clack’s 13
- raw.githubusercontent.com/angular/angular-cli/main/packages/angular/cli/package.json: Angular CLI pulls in version 8.8.0
- github.com/SBoudrias/Inquirer.js: One repository houses the older package and the newer prompt modules
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.
- github.com/angular/dev-infra/pull/3259: Angular dev-infra tracks @inquirer/prompts majors
- socket.dev/npm/package/@inquirer/prompts/overview/^4.3.3: Larger community and docs than Clack
- dev.to/chengyixu/clackprompts-the-modern-alternative-to-inquirerjs-1ohb: Recent write-up recommends Clack first
- NestJS CLI / Yeoman: Long-time production users
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.
- github.com/angular/angular-cli/blob/main/packages/angular_devkit/schematics_cli/bin/schematics.ts: Uses confirmation, select, checkbox, and input prompts
- raw.githubusercontent.com/firebase/firebase-tools/main/src/prompt.ts: Wraps Inquirer for interactive input with noninteractive fallbacks
- raw.githubusercontent.com/vercel/turborepo/main/packages/create-turbo/package.json: Vercel’s scaffold tool declares both @inquirer/prompts 7.x and Commander
- seek-oss.github.io/skuba/CHANGELOG.html: Records replacing Inquirer with Clack for setup prompts
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.
- npm.license, npm.dependencies, advisories: MIT, ten direct dependencies, and zero direct OSV advisories
- scorecard: 6.6 overall, with token permissions at 0 and branch protection at 3
- raw.githubusercontent.com/SBoudrias/Inquirer.js/refs/tags/@inquirer/prompts@8.8.0/.github/workflows/publish.yml: Trusted Publishing with separate tests and staged maintainer approval
- github.com/SBoudrias/Inquirer.js/releases/tag/@inquirer%2Fprompts@8.8.0: Immutable GitHub release with a verified tag signature
- intel.aikido.dev/cve/AIKIDO-2026-674364: Low-severity external-editor issue fixed in 3.0.3
- raw.githubusercontent.com/SBoudrias/Inquirer.js/refs/tags/@inquirer/prompts@8.8.0/packages/editor/package.json: Current editor module requires external-editor 3.1.0 or later within major version 3
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.