JavaScript Command-line utilities

Open-source JavaScript projects categorized as Command-line utilities

Top 23 JavaScript Command-line utility Projects

  • zx

    A tool for writing better scripts

  • Project mention: Google/Zx v8.1 | | 2024-05-13
  • Commander.js

    node.js command-line interfaces made easy

  • Project mention: Battlesnake Challenge #2 - JavaScript | | 2024-05-19

    JavaScript is everywhere. Not only is JavaScript on every layer of the tech stack (frontend/middleware/backend), but you can also find JavaScript in every software domain. No matter if you want to do command-line tools, creative coding, or machine learning, you can do it in JavaScript. Because JavaScript is so ubiquitous, as a developer it’s the best career choice you can make.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • chalk

    πŸ– Terminal string styling done right

  • Project mention: JavaScript Libraries That You Should Know | | 2024-03-19

    4. Chalk

  • Inquirer.js

    A collection of common interactive command line user interfaces.

  • Project mention: Mastering Node.js CLI: Best Practices and Tips | | 2024-02-06

    Inquirer.js is a handy tool for adding interactive prompts to your CLI.

  • shelljs

    :shell: Portable Unix shell commands for Node.js

  • Project mention: The Bun Shell | | 2024-01-20

    When I need shell-like utilities from my JS scripts I've previously used shelljs [0]. It's neat that Bun is adding more built-in utilities though.


  • blessed

    A high-level terminal interface library for node.js.

  • Project mention: Best Javascript libraries for TUI development? | /r/learnjavascript | 2023-10-05

    I found blessed but it seems like it was last updated 8 years ago. So what are my options?

  • yargs

    yargs the modern, pirate-themed successor to optimist.

  • Project mention: A Guide to Building CLI Tools in JavaScript | | 2024-03-28

    Your tool now automates project setup, but there's room for improvement. Consider adding more features or handling user input to customize the project structure. Explore packages like yargs for parsing command-line arguments. You can learn more about yargs through their official documentation here.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ora

    Elegant terminal spinner

  • Project mention: Find out how the Ora package is used to show a CLI spinner in shadcn-ui/ui source code. | | 2024-05-22

    I found a function named ora in add.ts in shadcn-ui/ui source code. Wanted to find out what it is, so I did some research and this article presents my findings about ora.

  • node-config

    Node.js Application Configuration

  • Project mention: topoconfig: enhancing config declarations with graphs | | 2023-10-03


  • vorpal

    Node's framework for interactive CLIs

  • meow

    🐈 CLI app helper

  • Project mention: Building Reactive CLIs with Ink - React CLI library | | 2023-11-03

    As you can see, cli.tsx also looks pretty similar to React's root file, but, it has something more to offer using meow library. meow is a popular library that helps you build nice CLI applications gives you access to create usage docs and handles args and flags.

  • listr

    Terminal task list

  • progress

    Flexible ascii progress bar for nodejs

  • cli-table

    Pretty unicode tables for the CLI with Node.JS

  • update-notifier

    Update notifications for your CLI app

  • boxen

    Create boxes in the terminal

  • Project mention: Interactive Node JS command line | | 2023-12-30


  • DraftLog

    πŸ“œ Create mutable log lines into the terminal, and give life to your logs!

  • log-update

    Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.

  • drawille

    Drawing in terminal with unicode braille characters

  • gradient-string

    :rainbow: Beautiful color gradients in terminal output

  • terminal-image

    Display images in the terminal

  • configstore

    Easily load and persist config without having to think about where and how

  • liftoff

    Launch your command line tool with ease. (by gulpjs)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Command-line utilities related posts

  • Find out how the Ora package is used to show a CLI spinner in shadcn-ui/ui source code.

    1 project | | 22 May 2024
  • Battlesnake Challenge #2 - JavaScript

    3 projects | | 19 May 2024
  • Google/Zx v8.1

    1 project | | 13 May 2024
  • Create a Chat App With Node.js

    8 projects | | 30 Apr 2024
  • Zx 8.0

    1 project | | 7 Apr 2024
  • A Guide to Building CLI Tools in JavaScript

    2 projects | | 28 Mar 2024
  • Developing a Node CLI App in an NX monorepo

    1 project | | 10 Mar 2024
  • A note from our sponsor - SaaSHub | 28 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more β†’


What are some of the best open-source Command-line utility projects in JavaScript? This list will help you:

Project Stars
1 zx 42,013
2 Commander.js 26,199
3 chalk 21,488
4 Inquirer.js 19,468
5 shelljs 14,152
6 blessed 11,157
7 yargs 10,958
8 ora 8,937
9 node-config 6,215
10 vorpal 5,621
11 meow 3,502
12 listr 3,259
13 progress 2,947
14 cli-table 2,264
15 update-notifier 1,752
16 boxen 1,485
17 DraftLog 1,236
18 log-update 1,078
19 drawille 1,000
20 gradient-string 987
21 terminal-image 948
22 configstore 860
23 liftoff 840

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives