Skip to content
React Libraries
On this page

zx

A toolkit for writing shell-oriented scripts in JavaScript.

What it does

A toolkit for writing shell-oriented scripts in JavaScript.

When it fits

Combining command execution with normal JavaScript control flow.

Other options in this category

  • Ansis — Formatting command-line output with composable styles.
  • CAC — Building a small CLI with argument parsing and generated help.
  • Clack — Creating guided setup flows with prompts and progress messages.
  • cli-cursor — Keeping animated terminal interfaces visually tidy.
  • cli-spinners — Building a custom command-line progress indicator.

Source

Project source for zx ↗

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

Build a command-line workflow →

All command-line tools options →