Skip to content
JS
Package category

CLI tools and terminal utilities

Build command-line programs: argument parsing, prompts, colours, spinners.

1,738 packages19 comparisons

Packages compared

1,738 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
@inquirer/confirm
Inquirer confirm prompt
37.3m+196%-17 days ago
6.3.2
ESM onlyBundledCLI tools and terminal utilities
inquirer
A collection of common interactive command line user interfaces.
37.2m+9%-17 days ago
14.2.2
ESM onlyBundledCLI tools and terminal utilities
wcwidth
Port of C's wcwidth() and wcswidth()
36.1m+70%-10 years ago
1.0.1
CommonJSNoneCLI tools and terminal utilities
cac
Simple yet powerful framework for building command-line apps.
35.2m+148%-6 months ago
7.0.0
ESM onlyNoneCLI tools and terminal utilities
uglify-js
JavaScript parser, mangler/compressor and beautifier toolkit
35.1m+41%-2 years ago
3.19.3
CommonJSNoneCompression and archives, Parsers and serialisers
@inquirer/ansi
A lightweight package providing ANSI escape sequences for terminal cursor manipulation and screen clearing.
33m+825%-22 days ago
2.0.8
ESM onlyBundledCLI tools and terminal utilities
yn
Parse yes/no like values
31.9m+25%-1 year ago
5.1.0
ESM onlyBundledCLI tools and terminal utilities
log-update
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
31.5m+31%-5 months ago
8.0.0
ESM onlyBundledCLI tools and terminal utilities, Logging
svgo
SVGO is a Node.js library and command-line application for optimizing vector images.
31.4m+55%-1 month ago
4.1.0
ESM + CommonJSBundledCLI tools and terminal utilities, Image processing
supports-hyperlinks
Detect whether a terminal supports hyperlinks
30.7m+69%-3 months ago
4.5.0
ESM onlyBundledCLI tools and terminal utilities
listr2
Terminal task list reborn! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.
30.5m+40%-23 days ago
11.1.0
ESM + CommonJSBundledCLI tools and terminal utilities
widest-line
Get the visual width of the widest line in a string - the number of columns required to display it
29.1m+79%-8 months ago
6.0.0
ESM onlyBundledCLI tools and terminal utilities
@inquirer/external-editor
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
28.9m+266%-22 days ago
3.0.5
ESM onlyBundledCLI tools and terminal utilities
yoctocolors
The smallest and fastest command-line coloring package on the internet
28.1m+491%-1 month ago
2.2.0
ESM onlyBundledCLI tools and terminal utilities, Logging
@inquirer/prompts
Inquirer prompts, combined in a single package
27.9m+223%-17 days ago
8.7.2
ESM onlyBundledCLI tools and terminal utilities, TypeScript tooling
effect
The missing standard library for TypeScript, for writing production-grade software.
26.3m+544%-16 days ago
3.22.2
ESM + CommonJSBundledTypeScript tooling, Monitoring and error tracking
string-argv
string-argv parses a string into an argument array to mimic process.argv. This is useful when testing Command Line Utilities that you want to pass arguments to.
26m+75%-3 years ago
0.3.2
ESM + CommonJSBundledCLI tools and terminal utilities
@inquirer/select
Inquirer select/list prompt
25.9m+224%-17 days ago
5.2.5
ESM onlyBundledCLI tools and terminal utilities
enquirer
Stylish, intuitive and user-friendly prompt system. Fast and lightweight enough for small projects, powerful and extensible enough for the most advanced use cases.
25.2m+45%-3 years ago
2.4.1
CommonJSBundledCLI tools and terminal utilities
@inquirer/input
Inquirer input text prompt
25m+215%-17 days ago
5.1.6
ESM onlyBundledCLI tools and terminal utilities
@inquirer/checkbox
Inquirer checkbox prompt
24.9m+199%-17 days ago
5.2.5
ESM onlyBundledCLI tools and terminal utilities
fast-wrap-ansi
A tiny and fast text wrap library which takes ANSI escapes into account.
24.4m+27241501%-4 months ago
0.2.2
ESM onlyBundledCLI tools and terminal utilities
cli-boxes
Boxes for use in the terminal
24.3m+73%-2 years ago
4.0.1
ESM onlyBundledCLI tools and terminal utilities
powershell-utils
Utilities for executing PowerShell commands
24.3m--26 days ago
0.2.1
ESM onlyBundledCLI tools and terminal utilities
cli-table3
Pretty unicode tables for the command line. Based on the original cli-table.
24.3m+47%-2 years ago
0.6.5
CommonJSBundledCLI tools and terminal utilities
@inquirer/editor
Inquirer multiline editor prompt
24.1m+218%-17 days ago
5.3.3
ESM onlyBundledCLI tools and terminal utilities
fast-string-truncated-width
A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
24.1m+37628%-11 months ago
3.0.3
ESM onlyBundledCLI tools and terminal utilities, Strings and text
@inquirer/password
Inquirer password prompt
24m+196%-17 days ago
5.2.2
ESM onlyBundledCLI tools and terminal utilities
@inquirer/search
Inquirer search prompt
24m+233%-17 days ago
4.3.3
ESM onlyBundledCLI tools and terminal utilities
fast-string-width
A fast function for calculating the visual width of a string once printed to the terminal.
23.9m+66487%-11 months ago
3.0.2
ESM onlyBundledCLI tools and terminal utilities, Strings and text
@inquirer/expand
Inquirer checkbox prompt
23.7m+195%-17 days ago
5.1.5
ESM onlyBundledCLI tools and terminal utilities
@inquirer/rawlist
Inquirer rawlist prompt
23.6m+214%-17 days ago
5.3.5
ESM onlyBundledCLI tools and terminal utilities
@inquirer/number
Inquirer number prompt
23.3m+225%-17 days ago
4.2.3
ESM onlyBundledCLI tools and terminal utilities
jake
JavaScript build tool, similar to Make or Rake
22.4m+27%-4 months ago
12.10.1
CommonJSNoneBuild tools, CLI tools and terminal utilities
boxen
Create boxes in the terminal
21.5m+43%-3 days ago
9.0.0
ESM onlyBundledCLI tools and terminal utilities
yoctocolors-cjs
CommonJS version - The smallest and fastest command-line coloring package on the internet
21.5m+94%-1 year ago
2.1.3
CommonJSBundledCLI tools and terminal utilities, Logging
colors
get colors in your node.js console
20.9m+19%-7 years ago
1.4.0
CommonJSNoneCLI tools and terminal utilities
@angular-devkit/core
Angular DevKit - Core Utility Library
18.9m+53%-1 day ago
22.2.0
CommonJSBundledAngular, CLI tools and terminal utilities
ansi-align
align-text with ANSI support for CLIs
18.7m+49%-4 years ago
3.0.1
CommonJSNoneCLI tools and terminal utilities
table
Formats data into a string table.
18.2m+21%-1 year ago
6.9.0
CommonJSBundledCLI tools and terminal utilities
is-installed-globally
Check if your package was installed globally
17.9m+38%-3 days ago
1.0.1
ESM onlyBundledCLI tools and terminal utilities
@clack/prompts
Effortlessly build beautiful command-line apps 🪄 [Try the demo](https://stackblitz.com/edit/clack-prompts?file=index.js)
17.8m+772%-11 days ago
1.8.1
ESM onlyBundledCLI tools and terminal utilities
@clack/core
Clack contains low-level primitives for implementing your own command-line applications.
17.8m+791%-11 days ago
1.5.1
ESM onlyBundledCLI tools and terminal utilities
terminal-link
Create clickable links in the terminal
16.9m+50%-1 year ago
5.0.0
ESM onlyBundledCLI tools and terminal utilities
kuler
Color your terminal using CSS/hex color codes
16.4m+44%-7 years ago
2.0.0
CommonJSNoneCLI tools and terminal utilities
mri
Quickly scan for CLI flags and arguments
16.4m+77%-5 years ago
1.2.0
ESM + CommonJSBundledCLI tools and terminal utilities
wrangler
Command-line interface for all things Cloudflare Workers
16.2m+836%-today
4.139.0
ESM + CommonJSBundledCloud SDKs, CLI tools and terminal utilities
@angular-devkit/schematics
Angular Schematics - Library
16.1m+73%-1 day ago
22.2.0
CommonJSBundledAngular, CLI tools and terminal utilities
dashdash
A light, featureful and explicit option parsing library.
16.1m-9%-5 years ago
2.0.0
CommonJSNoneCLI tools and terminal utilities
concurrently
Run commands concurrently
15.8m+102%-1 month ago
10.0.5
ESM onlyBundledCLI tools and terminal utilities, Promises and async control flow

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • @inquirer/confirmInquirer confirm prompt
  • inquirerA collection of common interactive command line user interfaces.
  • wcwidthPort of C's wcwidth() and wcswidth()
  • cacSimple yet powerful framework for building command-line apps.
  • uglify-jsJavaScript parser, mangler/compressor and beautifier toolkit
  • @inquirer/ansiA lightweight package providing ANSI escape sequences for terminal cursor manipulation and screen clearing.
  • ynParse yes/no like values
  • log-updateLog by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
  • svgoSVGO is a Node.js library and command-line application for optimizing vector images.
  • supports-hyperlinksDetect whether a terminal supports hyperlinks
  • listr2Terminal task list reborn! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.
  • widest-lineGet the visual width of the widest line in a string - the number of columns required to display it
  • @inquirer/external-editorEdit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
  • yoctocolorsThe smallest and fastest command-line coloring package on the internet
  • @inquirer/promptsInquirer prompts, combined in a single package
  • effectThe missing standard library for TypeScript, for writing production-grade software.
  • string-argvstring-argv parses a string into an argument array to mimic process.argv. This is useful when testing Command Line Utilities that you want to pass arguments to.
  • @inquirer/selectInquirer select/list prompt
  • enquirerStylish, intuitive and user-friendly prompt system. Fast and lightweight enough for small projects, powerful and extensible enough for the most advanced use cases.
  • @inquirer/inputInquirer input text prompt
  • @inquirer/checkboxInquirer checkbox prompt
  • fast-wrap-ansiA tiny and fast text wrap library which takes ANSI escapes into account.
  • cli-boxesBoxes for use in the terminal
  • powershell-utilsUtilities for executing PowerShell commands
  • cli-table3Pretty unicode tables for the command line. Based on the original cli-table.
  • @inquirer/editorInquirer multiline editor prompt
  • fast-string-truncated-widthA fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
  • @inquirer/passwordInquirer password prompt
  • @inquirer/searchInquirer search prompt
  • fast-string-widthA fast function for calculating the visual width of a string once printed to the terminal.
  • @inquirer/expandInquirer checkbox prompt
  • @inquirer/rawlistInquirer rawlist prompt
  • @inquirer/numberInquirer number prompt
  • jakeJavaScript build tool, similar to Make or Rake
  • boxenCreate boxes in the terminal
  • yoctocolors-cjsCommonJS version - The smallest and fastest command-line coloring package on the internet
  • colorsget colors in your node.js console
  • @angular-devkit/coreAngular DevKit - Core Utility Library
  • ansi-alignalign-text with ANSI support for CLIs
  • tableFormats data into a string table.
  • is-installed-globallyCheck if your package was installed globally
  • @clack/promptsEffortlessly build beautiful command-line apps 🪄 [Try the demo](https://stackblitz.com/edit/clack-prompts?file=index.js)
  • @clack/coreClack contains low-level primitives for implementing your own command-line applications.
  • terminal-linkCreate clickable links in the terminal
  • kulerColor your terminal using CSS/hex color codes
  • mriQuickly scan for CLI flags and arguments
  • wranglerCommand-line interface for all things Cloudflare Workers
  • @angular-devkit/schematicsAngular Schematics - Library
  • dashdashA light, featureful and explicit option parsing library.
  • concurrentlyRun commands concurrently