Skip to content
React Libraries
On this page

Command-line tools

Parse arguments, prompt users, run processes, and format terminal output.

Choose a library or tool

21 options in this category.

Jump to a library or tool (21)

Ansis

CLI toolkit

ANSI color and styling helpers for terminal text.

Good for
Formatting command-line output with composable styles.

CAC

CLI toolkit

A framework for defining command-line commands and options.

Good for
Building a small CLI with argument parsing and generated help.

Clack

CLI toolkit

Components for building interactive command-line experiences.

Good for
Creating guided setup flows with prompts and progress messages.

cli-cursor

CLI toolkit

A utility for showing and hiding the terminal cursor.

Good for
Keeping animated terminal interfaces visually tidy.

cli-spinners

CLI toolkit

A collection of animation frames for terminal spinners.

Good for
Building a custom command-line progress indicator.

clipboardy

CLI toolkit

A utility for reading and writing the system clipboard.

Good for
Adding copy and paste behavior to Node.js developer tools.

Execa

CLI toolkit

A process-execution library for Node.js.

Good for
Running external programs with structured input, output, and error handling.

is-interactive

CLI toolkit

A detector for interactive terminal output.

Good for
Choosing between interactive prompts and plain output in scripts.

A detector for terminal Unicode support.

Good for
Choosing compatible symbols when rendering command-line output.

kleur

CLI toolkit

Functions for formatting terminal text with ANSI styles.

Good for
Styling logs and status messages in Node.js commands.

log-symbols

CLI toolkit

Colored symbols for common log levels.

Good for
Making terminal success, warning, and error messages easy to scan.

meow

CLI toolkit

A helper for creating command-line applications.

Good for
Parsing CLI flags and presenting concise command help.

npm-run-path

CLI toolkit

A helper that resolves executable paths similarly to package scripts.

Good for
Running locally installed command-line tools from Node.js code.

ora

CLI toolkit

A terminal spinner for asynchronous command-line work.

Good for
Showing progress while a CLI waits for a task to finish.

picocolors

CLI toolkit

A small terminal color-formatting utility.

Good for
Adding colored output to lightweight developer tools.

progress-estimator

CLI toolkit

A helper for estimating and displaying task progress.

Good for
Giving command-line users an indication of ongoing asynchronous work.

prompts

CLI toolkit

A library for interactive command-line questions.

Good for
Collecting configuration and choices during a CLI workflow.

Sly

CLI toolkit

A command-line tool for adding reusable components and utilities to a project.

Good for
Copying selected building blocks into an application codebase.

tiged

CLI toolkit

A tool for downloading repository templates without their Git history.

Good for
Starting projects from a remote example or starter directory.

tldr pages

CLI toolkit

Community-written command examples that complement traditional manual pages.

Good for
Looking up practical terminal usage quickly.

zx

CLI toolkit

A toolkit for writing shell-oriented scripts in JavaScript.

Good for
Combining command execution with normal JavaScript control flow.

Keep exploring

Browse all categories →