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
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| ansi-gray The color gray, in ansi. | 1.8m | -8% | - | 11 years ago 0.1.1 | CommonJS | None | CLI tools and terminal utilities, Logging | |
| lsofi Find processes occupying a given port | 1.7m | +196% | - | 6 months ago 2.0.0 | ESM + CommonJS | None | CLI tools and terminal utilities | |
| figlet Creates ASCII Art from text. A full implementation of the FIGfont spec. | 1.7m | +12% | - | 1 month ago 1.11.4 | ESM + CommonJS | Bundled | CLI tools and terminal utilities | |
| ansi-to-html Convert ansi escaped text streams to html. | 1.7m | +8% | - | 4 years ago 0.7.2 | CommonJS | Bundled | CLI tools and terminal utilities | |
| picospinner A lightweight, no dependency, pluggable CLI spinner library. | 1.7m | +7975% | - | 1 month ago 3.1.2 | - | - | CLI tools and terminal utilities | |
| subarg parse arguments with recursive contexts | 1.7m | -4% | - | 11 years ago 1.0.0 | - | - | CLI tools and terminal utilities | |
| binary-version Get the version of a binary in semver format | 1.7m | +5329% | - | 2 years ago 7.1.0 | - | - | CLI tools and terminal utilities | |
| binary-version-check Check whether a binary version satisfies a semver range | 1.7m | +6060% | - | 2 years ago 6.1.0 | - | - | CLI tools and terminal utilities | |
| agent-install Install SKILL.md files, MCP servers, and AGENTS.md guidance for any coding agent. Ships both a Node API and a CLI. | 1.6m | - | - | 3 months ago 0.0.8 | - | - | CLI tools and terminal utilities | |
| npm-run-all2 A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintenance fork) | 1.6m | +61% | - | 1 month ago 9.0.3 | - | - | CLI tools and terminal utilities | |
| gradient-string Beautiful color gradients in terminal output | 1.6m | +29% | - | 1 year ago 3.0.0 | - | - | CLI tools and terminal utilities, Logging | |
| @redocly/cli [@Redocly](https://redocly.com) CLI is your all-in-one API documentation utility. It builds, manages, improves, and quality-checks your API descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make | 1.6m | - | - | - | 3 days ago 2.54.2 | - | - | Documentation tooling, CLI tools and terminal utilities |
| args Minimal toolkit for building CLIs | 1.5m | +22% | - | 4 years ago 5.0.3 | - | - | CLI tools and terminal utilities | |
| prettyjson Package for formatting JSON data in a coloured YAML-style, perfect for CLI output | 1.4m | +63% | - | 4 years ago 1.2.5 | - | - | CLI tools and terminal utilities | |
| cli-tableau Pretty unicode tables for the CLI | 1.4m | +4% | - | 6 years ago 2.0.1 | - | - | CLI tools and terminal utilities | |
| cz-conventional-changelog Commitizen adapter following the conventional-changelog format. | 1.3m | +5% | - | 6 years ago 3.3.0 | CommonJS | None | CLI tools and terminal utilities | |
| tokenx Fast token estimation with 95%+ average accuracy in a 2kB bundle | 1.3m | +2030% | - | 1 month ago 2.1.0 | - | - | CLI tools and terminal utilities, Parsers and serialisers | |
| @assistant-ui/react Open-source TypeScript/React library for building production-grade AI chat experiences | 1.3m | - | - | - | 1 day ago 0.15.22 | - | - | React, CSS-in-JS and styling |
| inquirer-autocomplete-prompt Autocomplete prompt for inquirer | 1.3m | +25% | - | 3 years ago 3.0.1 | - | - | CLI tools and terminal utilities | |
| grok-mermaid Render Mermaid diagrams as Unicode box-drawing art for terminals | 1.3m | - | - | 1 month ago 0.2.3 | - | - | CLI tools and terminal utilities | |
| env-cmd Executes a command using the environment variables in an env file | 1.2m | +1% | - | 1 year ago 11.0.0 | - | - | Configuration, Node.js utilities | |
| commitizen Git commit, but play nice with conventions. | 1.2m | +16% | - | 3 months ago 4.3.2 | CommonJS | None | CLI tools and terminal utilities, Node.js utilities | |
| agent-browser Browser automation CLI for AI agents | 1.2m | - | - | 8 days ago 0.38.1 | - | - | CLI tools and terminal utilities, Scraping and browser automation | |
| yeoman-environment Handles the lifecyle and bootstrapping of generators in a specific environment | 1.2m | +38% | - | 3 days ago 7.2.0 | - | - | CLI tools and terminal utilities | |
| minimisted Handy wrapper of `minimist` | 1.2m | +134% | - | 6 years ago 2.0.1 | - | - | CLI tools and terminal utilities | |
| @xterm/addon-web-links An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables web links. This addon requires xterm.js v4+. | 1.2m | - | - | - | 9 months ago 0.12.0 | ESM + CommonJS | Bundled | CLI tools and terminal utilities |
| @gitbeaker/rest Cross Platform implementation of the GitLab API | 1.2m | - | - | - | 10 months ago 43.8.0 | ESM + CommonJS | Bundled | DOM and browser utilities, CLI tools and terminal utilities |
| replace-in-file A simple utility to quickly replace text in one or more files. | 1.2m | -11% | - | 1 month ago 9.0.0 | ESM only | Bundled | Files and file systems, CLI tools and terminal utilities | |
| @xterm/headless A headless terminal component that runs in Node.js | 1.2m | - | - | - | 9 months ago 6.0.0 | ESM + CommonJS | Bundled | CLI tools and terminal utilities, 3D, WebGL and game engines |
| @napi-rs/cli Cli tools for napi-rs | 1.1m | - | - | - | 2 days ago 3.10.5 | ESM + CommonJS | Bundled | CLI tools and terminal utilities |
| shx Portable Shell Commands for Node | 1.1m | +27% | - | 1 year ago 0.4.0 | - | None | CLI tools and terminal utilities | |
| markdownlint-cli2 A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library | 1.1m | +386% | - | 5 days ago 0.23.3 | ESM only | None | Markdown, Parsers and serialisers | |
| eight-colors Eight colors for the console | 1.1m | +224% | - | 5 months ago 1.3.3 | ESM + CommonJS | Bundled | CLI tools and terminal utilities, Node.js utilities | |
| json-2-csv A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading. | 1.1m | +66% | - | 30 days ago 5.6.0 | CommonJS | Bundled | Parsers and serialisers, CLI tools and terminal utilities | |
| acpx Headless CLI client for the Agent Client Protocol (ACP) — talk to coding agents from the command line | 1.1m | - | - | 2 days ago 0.19.2 | ESM only | None | CLI tools and terminal utilities | |
| @xterm/addon-webgl An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables a WebGL2-based renderer. This addon requires xterm.js v4+. | 1.1m | - | - | - | 9 months ago 0.19.0 | ESM + CommonJS | Bundled | 3D, WebGL and game engines, CLI tools and terminal utilities |
| @openclaw/libterminal Shared TypeScript terminal protocol, streaming, browser, Node, and Worker primitives | 1m | - | - | - | 3 days ago 0.3.7 | ESM only | Bundled | CLI tools and terminal utilities, TypeScript tooling |
| termi-link This library provides terminal links for terminals that support them. | 1m | +47041% | - | 1 month ago 2.0.2 | ESM + CommonJS | Bundled | CLI tools and terminal utilities | |
| yeoman-generator Rails-inspired generator system that provides scaffolding for your apps | 1m | +21% | - | 10 days ago 9.2.0 | ESM only | Bundled | CLI tools and terminal utilities, Node.js utilities | |
| @sentry/expo-upload-sourcemaps CLI to upload bundles and source maps from Expo builds to Sentry. | 1m | - | - | - | 1 day ago 8.28.0 | - | None | Monitoring and error tracking, React |
| ansi-red The color red, in ansi. | 1m | +4% | - | 11 years ago 0.1.1 | CommonJS | None | CLI tools and terminal utilities, Logging | |
| tokenjuice Lean output compaction for terminal-heavy agent workflows. | 1m | - | - | 10 days ago 0.8.5 | ESM only | Bundled | CLI tools and terminal utilities | |
| charm ansi control sequences for terminal cursor hopping and colors | 997.5k | -41% | - | 9 years ago 1.0.2 | CommonJS | None | CLI tools and terminal utilities | |
| eas-cli EAS command line tool | 946.2k | +219% | - | today 24.8.0 | - | None | CLI tools and terminal utilities | |
| config-file-ts Use Typescript for configuration files. Types for safety. Compiled for speed. | 942.7k | +99% | - | 2 years ago 0.2.8-rc1 | CommonJS | Bundled | TypeScript tooling, Configuration | |
| clap Command line argument parser | 939k | +7% | - | 4 years ago 3.1.1 | ESM + CommonJS | None | CLI tools and terminal utilities | |
| size-limit CLI tool for Size Limit | 938.9k | +186% | - | 10 days ago 14.0.0 | ESM only | Bundled | CLI tools and terminal utilities | |
| promptly Simple command line prompting utility | 913.6k | -34% | - | 5 years ago 3.2.0 | CommonJS | None | CLI tools and terminal utilities | |
| ansi-cyan The color cyan, in ansi. | 884.9k | +3% | - | 11 years ago 0.1.1 | CommonJS | None | CLI tools and terminal utilities, Logging | |
| readline2 Readline Façade fixing bugs and issues found in releases 0.8 and 0.10 | 876.9k | -23% | - | 11 years ago 1.0.1 | - | None | CLI tools and terminal utilities |
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.
- ansi-grayThe color gray, in ansi.
- lsofiFind processes occupying a given port
- figletCreates ASCII Art from text. A full implementation of the FIGfont spec.
- ansi-to-htmlConvert ansi escaped text streams to html.
- picospinnerA lightweight, no dependency, pluggable CLI spinner library.
- subargparse arguments with recursive contexts
- binary-versionGet the version of a binary in semver format
- binary-version-checkCheck whether a binary version satisfies a semver range
- agent-installInstall SKILL.md files, MCP servers, and AGENTS.md guidance for any coding agent. Ships both a Node API and a CLI.
- npm-run-all2A CLI tool to run multiple npm-scripts in parallel or sequential. (Maintenance fork)
- gradient-stringBeautiful color gradients in terminal output
- @redocly/cli[@Redocly](https://redocly.com) CLI is your all-in-one API documentation utility. It builds, manages, improves, and quality-checks your API descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make
- argsMinimal toolkit for building CLIs
- prettyjsonPackage for formatting JSON data in a coloured YAML-style, perfect for CLI output
- cli-tableauPretty unicode tables for the CLI
- cz-conventional-changelogCommitizen adapter following the conventional-changelog format.
- tokenxFast token estimation with 95%+ average accuracy in a 2kB bundle
- @assistant-ui/reactOpen-source TypeScript/React library for building production-grade AI chat experiences
- inquirer-autocomplete-promptAutocomplete prompt for inquirer
- grok-mermaidRender Mermaid diagrams as Unicode box-drawing art for terminals
- env-cmdExecutes a command using the environment variables in an env file
- commitizenGit commit, but play nice with conventions.
- agent-browserBrowser automation CLI for AI agents
- yeoman-environmentHandles the lifecyle and bootstrapping of generators in a specific environment
- minimistedHandy wrapper of `minimist`
- @xterm/addon-web-linksAn addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables web links. This addon requires xterm.js v4+.
- @gitbeaker/restCross Platform implementation of the GitLab API
- replace-in-fileA simple utility to quickly replace text in one or more files.
- @xterm/headlessA headless terminal component that runs in Node.js
- @napi-rs/cliCli tools for napi-rs
- shxPortable Shell Commands for Node
- markdownlint-cli2A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library
- eight-colorsEight colors for the console
- json-2-csvA JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.
- acpxHeadless CLI client for the Agent Client Protocol (ACP) — talk to coding agents from the command line
- @xterm/addon-webglAn addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables a WebGL2-based renderer. This addon requires xterm.js v4+.
- @openclaw/libterminalShared TypeScript terminal protocol, streaming, browser, Node, and Worker primitives
- termi-linkThis library provides terminal links for terminals that support them.
- yeoman-generatorRails-inspired generator system that provides scaffolding for your apps
- @sentry/expo-upload-sourcemapsCLI to upload bundles and source maps from Expo builds to Sentry.
- ansi-redThe color red, in ansi.
- tokenjuiceLean output compaction for terminal-heavy agent workflows.
- charmansi control sequences for terminal cursor hopping and colors
- eas-cliEAS command line tool
- config-file-tsUse Typescript for configuration files. Types for safety. Compiled for speed.
- clapCommand line argument parser
- size-limitCLI tool for Size Limit
- promptlySimple command line prompting utility
- ansi-cyanThe color cyan, in ansi.
- readline2Readline Façade fixing bugs and issues found in releases 0.8 and 0.10
- chalk vs yoctocolors
- yargs vs clipanion
- cli-color vs chalk
- chalk vs ansi-escapes
- yargs-parser vs clipanion
- nanocolors vs kleur
- tsx vs effect
- standard-version vs commit-and-tag-version
- yoctocolors vs chalk-animation
- markdownlint-cli2 vs markdownlint-cli
- @inquirer/core vs enquirer
- prompts vs @clack/prompts
- defuddle vs md-to-pdf
- log-update vs chalk-animation
- replace-in-file vs cpx
- yoctocolors vs cli-color
- tsx vs typed-scss-modules
- clipanion vs cleye
- effect vs typed-scss-modules