JavaScript Command-line utilities

Open-source JavaScript projects categorized as Command-line utilities | Edit details

Top 23 JavaScript Command-line utility Projects

  • GitHub repo Commander.js

    node.js command-line interfaces made easy

    Project mention: Command line input. | | 2022-01-16

    Perhaps you’re looking for something like yargs ? Another option that I haven’t liked as much is commander

  • GitHub repo chalk

    🖍 Terminal string styling done right

    Project mention: Alternatives for 'colors' and 'faker' | | 2022-01-10
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo Inquirer.js

    A collection of common interactive command line user interfaces.

    Project mention: Can someone help me with this exercise: Write a program that asks the user for a word and display it on screen 10 times | | 2021-12-02

    Hey there, I'd recommend you look the basics solving problems with code. These kinds of problems are the building blocks of more complex and fun problems down the road. For this, I would specifically look into using loops and the node process argv variables for taking a basic input from the cli. You could also use a package from npm, if you feel up to it, like inquirer. It's pretty straightforward and has some nice documentation.

  • GitHub repo shelljs

    :shell: Portable Unix shell commands for Node.js

    Project mention: How to build a CLI using NodeJS 💻 | | 2022-01-04

    As we are creating starter files, let's use ShellJS to run commands like git clone, mkdir...

  • GitHub repo blessed

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

    Project mention: Xterm.js | | 2021-10-08

    Fun fact - xterm.js was originally created by chjj who also wrote the code for Handshake DNS among other things.

    My favorite is blessed [1].

    He’s definitely a super programmer. Thank you for all your contributions to this world @chjj!


  • GitHub repo yargs

    yargs the modern, pirate-themed successor to optimist.

    Project mention: Command line input. | | 2022-01-16

    Perhaps you’re looking for something like yargs ? Another option that I haven’t liked as much is commander

  • GitHub repo ora

    Elegant terminal spinner

    Project mention: Ora — Elegant terminal spinner | | 2021-12-28
  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo vorpal

    Node's framework for interactive CLIs

    Project mention: google/zx: write shell scripts in JavaScript | | 2022-01-07

    Got it, so more about the general idea of using Node to interact with a shell. Fair points but I'm not sure that's where zx falls. I'm looking at it in relation to projects like commander, oclif, and vorpal— frameworks for authoring and packaging local-use CLI tools written in JS, typically aimed at people who know JS and work in a terminal but don't know shell scripting. Those have the overhead of learning a framework, and don't do anything to help you work with the shell. zx seems to come from the other direction: instead of an esoteric framework, shell concepts and shell commands in a Node script.

  • GitHub repo node-config

    Node.js Application Configuration

    Project mention: Advice for writing enterprise-level API in Go? | | 2021-12-18

    How do I handle configs? In our Node APIs we use this config package, which allows us to override default configs on a per-environment basis. What's the standard way of doing this in Go?

  • GitHub repo minimist

    parse argument options

    Project mention: Writing JS-based Bash scripts with zx | | 2021-08-12

    The zx project implements a shell script executor similar to Bash but using JavaScript modules. It provides an inbuilt asynchronous JavaScript API to call other commands similar to Bash. Besides that, it provides wrapper functions for several Node.js-based command-line helpers such as chalk, minimist, fs-extra, OS, and Readline.

  • GitHub repo listr

    Terminal task list

    Project mention: タスク (tasuku) — The minimal task runner for Node.js | | 2021-06-04

    Major shoutout to listr + listr2 for being the motivation and visual inspiration for Tasuku, and for being my go-to task runner for a long time. I made Tasuku because I eventually found that they were too structured and declarative for my needs.

  • GitHub repo meow

    🐈 CLI app helper

    Project mention: Getting started with React Ink | | 2021-09-18

    Here the App component is being imported using a special importJSX command. Meow is a library that allows us to make interactive CLIs. Here look at the render statement. A React element is being created where the App Element is passed as the first argument (ie the JSX part of the element) and then cli.flags is an arrow of props that will be passed into the element. This is where the name prop is coming from!!!

  • GitHub repo progress

    Flexible ascii progress bar for nodejs

  • GitHub repo cli-table

    Pretty unicode tables for the CLI with Node.JS

    Project mention: Command Line Job Search Application using Node.js | | 2021-04-30

    cli-table - it is used to display the data in a tabular format

  • GitHub repo update-notifier

    Update notifications for your CLI app

  • GitHub repo DraftLog

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

    Project mention: Bad apple in the console | | 2021-05-21

    I use draftlog to update the picture, chalk to add the colors and ffmpeg to extract the video. \ The "pixels" are represented with the █ character.

  • GitHub repo boxen

    Create boxes in the terminal

  • GitHub repo cfonts

    Sexy fonts for the console

    Project mention: A Guide to CLIs with Node.js | | 2021-03-05

    Changing fonts are quite difficult through javascript and I spent a lot of time searching for a package that does just that. Thankfully, I got it. We'll be using the cfonts package. Go ahead and install it by running the following -

  • GitHub repo drawille

    Drawing in terminal with unicode braille characters

  • GitHub repo log-update

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

  • GitHub repo terminal-image

    Display images in the terminal

  • GitHub repo liftoff

    Launch your command line tool with ease.

  • GitHub repo configstore

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

    Project mention: UltiRequiem/configo: ⚙️ Dead Simple Config Management, load and persist config without having to think about where and how. | | 2021-10-25
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). The latest post mention was on 2022-01-16.

JavaScript Command-line utilities related posts


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

Project Stars
1 Commander.js 21,954
2 chalk 17,779
3 Inquirer.js 15,518
4 shelljs 12,969
5 blessed 10,313
6 yargs 9,449
7 ora 7,461
8 vorpal 5,496
9 node-config 5,454
10 minimist 5,007
11 listr 2,906
12 meow 2,864
13 progress 2,717
14 cli-table 2,155
15 update-notifier 1,597
16 DraftLog 1,158
17 boxen 1,101
18 cfonts 968
19 drawille 949
20 log-update 898
21 terminal-image 852
22 liftoff 794
23 configstore 761
Find remote jobs at our new job board There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.