JavaScript Command-line utilities

Open-source JavaScript projects categorized as Command-line utilities

Top 23 JavaScript Command-line utility Projects

Command-line utilities
  1. zx

    A tool for writing better scripts

    Project mention: How to automate the launch of your terminal processes (fzf + tmux + teamocil) | dev.to | 2024-11-27

    In my case, I use the bash shell (Bourne-Again SHell) as it is a slightly improved version of sh. But you can also use the “sh” by itself or tools that allow you to translate your code from any desired language into the shell, for example, “zx” from Google, which allows you to write your scripts in node.js and run them as shell scripts.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Commander.js

    node.js command-line interfaces made easy

    Project mention: CLI application with the Node.js Readline module (3/3) | dev.to | 2025-03-19

    Commands argument formatter and parser: https://github.com/tj/commander.js

  4. chalk

    🖍 Terminal string styling done right

    Project mention: CLI application with the Node.js Readline module (3/3) | dev.to | 2025-03-19

    Colors and text management: https://github.com/chalk/chalk and all the sub-librairies they have

  5. shelljs

    :shell: Portable Unix shell commands for Node.js

    Project mention: Compilation of Libraries Supporting CLI Application Development for Node.js | dev.to | 2025-01-20

    shelljs is used to run any other command-line programs through the shell.

  6. blessed

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

    Project mention: CLI application with the Node.js Readline module (3/3) | dev.to | 2025-03-19

    Advance CLI modules: https://github.com/chjj/blessed

  7. yargs

    yargs the modern, pirate-themed successor to optimist.

    Project mention: Compilation of Libraries Supporting CLI Application Development for Node.js | dev.to | 2025-01-20

    yargs and commander are two foundational libraries to help us parse parameters as mentioned above. They provide very basic functions to serve as a foundation for other libraries.

  8. ora

    Elegant terminal spinner

    Project mention: Compilation of Libraries Supporting CLI Application Development for Node.js | dev.to | 2025-01-20

    ora is a library that creates beautiful "loading" effects. These effects are often used to signal to users that processing is underway and they need to wait. ora provides many different "spinning" shapes. Additionally, you can combine it with text to create continuous messages on the screen, indicating the progress of the ongoing process.

  9. SaaSHub

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

    SaaSHub logo
  10. node-config

    Node.js Application Configuration

  11. vorpal

    Node's framework for interactive CLIs

    Project mention: Mastering Node.js | dev.to | 2024-07-11

    Vorpal.js is a framework for building mature, immersive command-line applications.

  12. meow

    🐈 CLI app helper

    Project mention: How To Build A CLI Using TypeScript And Bun | dev.to | 2025-02-05

    This tutorial guided you through building a command-line application using TypeScript and Bun. We created a utility for uploading files or directories to S3-compatible storage. We learned how to use meow as a helper library and Bun’s S3 Client. Additionally, you learned how to package and publish the CLI application to the npm registry.

  13. listr

    Terminal task list

  14. progress

    Flexible ascii progress bar for nodejs

    Project mention: Compilation of Libraries Supporting CLI Application Development for Node.js | dev.to | 2025-01-20

    progress helps you create "downloading" effects using a combination of ASCII characters.

  15. cli-table

    Pretty unicode tables for the CLI with Node.JS

  16. update-notifier

    Update notifications for your CLI app

  17. boxen

    Create boxes in the terminal

    Project mention: Compilation of Libraries Supporting CLI Application Development for Node.js | dev.to | 2025-01-20

    Sometimes you will need to draw a table to display information for output, cli-table3 is very suitable for this. Or if you simply want to enclose content in "boxes", boxen is a perfect choice.

  18. DraftLog

    📜 Create mutable log lines into the terminal, and give life to your logs!

  19. log-update

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

  20. drawille

    Drawing in terminal with unicode braille characters

  21. terminal-image

    Display images in the terminal

  22. configstore

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

  23. liftoff

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

  24. log-symbols

    Colored symbols for various log levels

  25. nve

    Run any command on specific Node.js versions

  26. 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 discussion

Log in or Post with

JavaScript Command-line utilities related posts

  • CLI application with the Node.js Readline module (3/3)

    6 projects | dev.to | 19 Mar 2025
  • Create your custom npm template package

    5 projects | dev.to | 10 Mar 2025
  • How To Build A CLI Using TypeScript And Bun

    3 projects | dev.to | 5 Feb 2025
  • Compilation of Libraries Supporting CLI Application Development for Node.js

    13 projects | dev.to | 20 Jan 2025
  • Typescript scripts in the command line: Using Deno 2.0

    3 projects | dev.to | 19 Jan 2025
  • Day 2: Terminal Gradients 🌈

    1 project | dev.to | 1 Dec 2024
  • Creating a TypeScript CLI for Your Monorepo

    2 projects | dev.to | 1 Dec 2024
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 21 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

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

# Project Stars
1 zx 43,743
2 Commander.js 27,146
3 chalk 22,273
4 shelljs 14,316
5 blessed 11,463
6 yargs 11,205
7 ora 9,279
8 node-config 6,334
9 vorpal 5,644
10 meow 3,582
11 listr 3,291
12 progress 2,980
13 cli-table 2,282
14 update-notifier 1,770
15 boxen 1,576
16 DraftLog 1,251
17 log-update 1,104
18 drawille 1,008
19 terminal-image 995
20 configstore 872
21 liftoff 842
22 log-symbols 752
23 nve 700

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai