# Inquirer.js

> Interactive command-line prompts for Node.js

Source: https://talira.ai/catalog/inquirer-js-mxetm5dn
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / cli frameworks](https://talira.ai/categories/libraries/cli-frameworks), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Simon Boudrias](https://talira.ai/orgs/simon-boudrias.md)

Inquirer.js is a collection of common interactive command-line prompts for [Node.js](https://talira.ai/catalog/node-js-6cbqj66f.md) and other JavaScript runtimes: input, select, checkbox, confirm, search, password, expand, raw list, number and an editor prompt that opens the user's $EDITOR. Each prompt is a function you await, with options for validation, defaults and custom input and output streams; `@inquirer/core` builds your own prompts and `@inquirer/testing` tests them, and `@inquirer/i18n` localizes them. The current `@inquirer/prompts` packages are a ground-up rewrite; the older `inquirer` package is still maintained but not actively developed. Works with npm, Yarn, pnpm, Bun and Deno. MIT licensed.

## Links

- GitHub: https://github.com/SBoudrias/Inquirer.js

## Problems it solves

- ask the user questions in my Node.js command-line tool
- show an arrow-key menu in a terminal script
- let users pick several options with checkboxes in a CLI
- prompt for a password without echoing it in Node.js
- build an interactive setup wizard for my npm package

## Features

- input, select, checkbox, confirm, search, password, expand, raw list and number prompts
- editor prompt that opens the user's $VISUAL or $EDITOR
- API for building custom prompts (@inquirer/core)
- testing utilities for prompts
- localized prompts with @inquirer/i18n (English, French, Spanish, Chinese, Portuguese)
- custom input and output streams

## Trust

Overall: 0.73 out of 1.
Signals: maintenance 1.00, adoption 0.87, momentum 0.64, community 0.97, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 201 commits in the last 90 days
- latest release @inquirer/editor@5.5.0 8 days ago
- 21.6k GitHub stars
- 268 contributors
- accepts sponsorship (Github, Thanks Dev, Tidelift)
- backed by Simon Boudrias

## Alternatives

- [Commander.js](https://talira.ai/catalog/commander-js-r3pn8w4k.md): The complete solution for Node.js command-line interfaces
- [yargs](https://talira.ai/catalog/yargs-y8jq9yaq.md): Parse command-line arguments and build CLIs in Node.js
- [oclif](https://talira.ai/catalog/oclif-jc7mkd43.md): Salesforce's open CLI framework for building Node.js command-line tools
- [minimist](https://talira.ai/catalog/minimist-xjjkaag0.md): Minimal command-line argument parser for Node.js

## Sources

[^1]: https://github.com/SBoudrias/Inquirer.js/blob/main/LICENSE (checked 27 Nov 2026)
[^2]: https://github.com/SBoudrias/Inquirer.js (checked 27 Nov 2026)
