Build a command-line workflow
Parse arguments, prompt users, run processes, and format terminal output.
Options for this task
Jump to a library or tool (21)
Ansis
CLI toolkitANSI color and styling helpers for terminal text.
- Good for
- Formatting command-line output with composable styles.
CAC
CLI toolkitA framework for defining command-line commands and options.
- Good for
- Building a small CLI with argument parsing and generated help.
Clack
CLI toolkitComponents for building interactive command-line experiences.
- Good for
- Creating guided setup flows with prompts and progress messages.
cli-cursor
CLI toolkitA utility for showing and hiding the terminal cursor.
- Good for
- Keeping animated terminal interfaces visually tidy.
cli-spinners
CLI toolkitA collection of animation frames for terminal spinners.
- Good for
- Building a custom command-line progress indicator.
clipboardy
CLI toolkitA utility for reading and writing the system clipboard.
- Good for
- Adding copy and paste behavior to Node.js developer tools.
Execa
CLI toolkitA process-execution library for Node.js.
- Good for
- Running external programs with structured input, output, and error handling.
is-interactive
CLI toolkitA detector for interactive terminal output.
- Good for
- Choosing between interactive prompts and plain output in scripts.
is-unicode-supported
CLI toolkitA detector for terminal Unicode support.
- Good for
- Choosing compatible symbols when rendering command-line output.
kleur
CLI toolkitFunctions for formatting terminal text with ANSI styles.
- Good for
- Styling logs and status messages in Node.js commands.
log-symbols
CLI toolkitColored symbols for common log levels.
- Good for
- Making terminal success, warning, and error messages easy to scan.
meow
CLI toolkitA helper for creating command-line applications.
- Good for
- Parsing CLI flags and presenting concise command help.
npm-run-path
CLI toolkitA helper that resolves executable paths similarly to package scripts.
- Good for
- Running locally installed command-line tools from Node.js code.
ora
CLI toolkitA terminal spinner for asynchronous command-line work.
- Good for
- Showing progress while a CLI waits for a task to finish.
picocolors
CLI toolkitA small terminal color-formatting utility.
- Good for
- Adding colored output to lightweight developer tools.
progress-estimator
CLI toolkitA helper for estimating and displaying task progress.
- Good for
- Giving command-line users an indication of ongoing asynchronous work.
prompts
CLI toolkitA library for interactive command-line questions.
- Good for
- Collecting configuration and choices during a CLI workflow.
Sly
CLI toolkitA command-line tool for adding reusable components and utilities to a project.
- Good for
- Copying selected building blocks into an application codebase.
tiged
CLI toolkitA tool for downloading repository templates without their Git history.
- Good for
- Starting projects from a remote example or starter directory.
tldr pages
CLI toolkitCommunity-written command examples that complement traditional manual pages.
- Good for
- Looking up practical terminal usage quickly.
zx
CLI toolkitA toolkit for writing shell-oriented scripts in JavaScript.
- Good for
- Combining command execution with normal JavaScript control flow.
Before you decide
Try a small, realistic example. Check the runtime, accessibility, maintenance, and license requirements for the features you need.