JavaScript CLI

Open-source JavaScript projects categorized as CLI Edit details

Top 23 JavaScript CLI Projects

  • zx

    A tool for writing better scripts

    Project mention: whats the advantages and disadvantages and limitations of worker thread in nodejs compared to multithreading in frameworks like spring ? | | 2022-08-01

    I've also done that, as it is the better solution for applications that are meant to be purely single-threaded. It's also easier than dealing with the async version (either promise-based or callback). Or at least it was, before I discovered

  • pkg

    Package your Node.js project into an executable

    Project mention: Finally!! A Blockchain For Any Programming Language (Video) | | 2022-08-18

    PKG NodeJS Compiler By Vercel

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • ava

    Node.js test runner that lets you develop with confidence 🚀

    Project mention: Try refactoring this | | 2022-07-25

    I'm using AVA for testing and that detects the module declaration and works just fine running ESM tests.

  • chalk

    🖍 Terminal string styling done right

    Project mention: Make TikToks with JavaScript 1 | | 2022-07-11


  • svgo

    ⚙️ Node.js tool for optimizing SVG files

    Project mention: Used an online SVG editor, this code got added to my file. I've already opened the file. How fucked am I? | | 2022-08-11
  • webpack-dashboard

    A CLI dashboard for webpack dev server

  • readme-md-generator

    📄 CLI that generates beautiful files

    Project mention: How To Write a README? | | 2022-07-12
  • 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.

  • social-analyzer

    API, CLI, and Web App for analyzing and finding a person's profile in 1000 social media \ websites

    Project mention: Some information and advice about DDoS, from someone who was there during #opPayback | | 2022-02-27
  • SingleFile

    Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a single HTML file

    Project mention: Ask HN: Is there a tool / product that enables commenting on HTML elements? | | 2022-08-01
  • signale

    Highly configurable logging utility

  • taskbook

    Tasks, boards & notes for the command-line habitat

    Project mention: Looking for a Todo/Checklist terminal application | | 2022-08-13
  • prompts

    ❯ Lightweight, beautiful and user-friendly interactive prompts

    Project mention: Ctrl-C Manifesto | | 2022-08-06

    Would love if prompts fixed this so it was easy to implement in my CLI app:

  • np

    A better `npm publish`

    Project mention: How to create and publish a react component library (not the storybook way) | | 2022-06-20

    Hooray! Our package has been published. You can do npm i simple-counter-component to check it out. To manage versioning, you can use a great library called np.

  • enquirer

    Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author:

    Project mention: 💡 Generate package.json From GitHub | | 2022-07-27

    { "name": "@jonschlinkert/omit-deep", "description": "Recursively omit specified keys from an object", "tags": ["object", "deep", "remove", "omit"], "version": "0.3.0", "author": "Jon Schlinkert (", "repository": "jonschlinkert/omit-deep", "bugs": "", "license": "MIT" }

  • fkill

    Fabulously kill processes. Cross-platform.

    Project mention: Alternatives to installing npm packages globally | | 2022-06-20

    Generally, npm libraries installed globally aren't standard library you'd use in your programs but more like CLI tools or full blown programs. As an example, fkill is the first one that comes to my mind.

  • standard-version

    :trophy: Automate versioning and CHANGELOG generation, with and

    Project mention: Add Commitint, Commitizen, Standard Version, and Husky to SvelteKit Project | | 2022-04-09

    I tried gitmoji and followed Make everyone in your project write beautiful commit messages using commitlint and commitizen by @sohandutta, but end up using the setting in this article because it's not compatible to changelog generation of standard-version (Ref: Issue #859)

  • plop

    Consistency Made Simple

    Project mention: Is this bad practice in the long run? | | 2022-08-08

    this allows you to import this Header component with import { Header } from 'path/Header' without Header/Header. Creating this structure manually is annoying, so one will benefit from some code generators like plop or hygen.

  • 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.

  • Release It! 🚀

    🚀 Automate versioning and package publishing

    Project mention: Monorepo is so frustrating... | | 2022-07-02

    Fine, but I need a package release tool and release-it tools looks good. I install, configure and on the last step - publishing - I find out that this lib does not support monorepo... and the release-it-yarn-workspaces lib does not support the latest version of release-it

  • carbon-now-cli

    🎨 Beautiful images of your code — from right inside your terminal.

    Project mention: Send help, I have no idea wtf is going on here | | 2021-12-13

    Also this

  • npm-run-all

    A CLI tool to run multiple npm-scripts in parallel or sequential.

    Project mention: How to build a Hacker news clone using Remix, Tailwind css ? | | 2022-05-10

    Finally with help of the run-s cli command we create a build script that runs the command sequentially. So run-s build:* will first run remix build followed by build:css script.

  • create-react-library

    ⚡CLI for creating reusable react libraries.

    Project mention: How are you bundling a React Component Library? | | 2021-12-12

    At first i thought that this was THE solution but looking deeper at the source code, this tool is a wrapper around a wrapper around a wrapper.... Don't get me wrong, it probably works, but it's currently using a rollup configuration that was created in 2018, the package itself has not seen any updates in 17 months and has 106 open issues. Also the owner says himself that he's not able to work that much on it anymore and suggest to use TSDX which in return hasn't been updated in several months, many open issues and extensive customization is recommended with patch-package which already in itself is a red-flag :(

  • hygen

    The simple, fast, and scalable code generator that lives in your project.

    Project mention: Is this bad practice in the long run? | | 2022-08-08

    this allows you to import this Header component with import { Header } from 'path/Header' without Header/Header. Creating this structure manually is annoying, so one will benefit from some code generators like plop or hygen.

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-08-18.

JavaScript CLI related posts


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

Project Stars
1 zx 33,612
2 pkg 21,739
3 ava 19,929
4 chalk 18,967
5 svgo 18,085
6 webpack-dashboard 13,888
7 readme-md-generator 9,742
8 social-analyzer 9,154
9 SingleFile 8,942
10 signale 8,685
11 taskbook 8,516
12 prompts 7,424
13 np 6,719
14 enquirer 6,663
15 fkill 6,637
16 standard-version 6,603
17 plop 5,632
18 vorpal 5,541
19 Release It! 🚀 5,500
20 carbon-now-cli 5,356
21 npm-run-all 4,924
22 create-react-library 4,713
23 hygen 4,671
Find remote jobs at our new job board There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.