JavaScript CLI

Open-source JavaScript projects categorized as CLI

Top 23 JavaScript CLI Projects

  1. zx

    A tool for writing better scripts

    Project mention: Advanced Shell Scripting with Bash (2006) [pdf] | news.ycombinator.com | 2025-04-17

    I write a lot of JS/TS for my day job, so zx (https://github.com/google/zx) has been a nice tool for bash scripts that start getting a little too complex.

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. chalk

    🖍 Terminal string styling done right

    Project mention: Building Universal npm Libraries: Supporting Both CJS and ESM | dev.to | 2025-04-15

    This divide creates real challenges. For example, when popular libraries like chalk transitioned to ESM-only in version 5, many existing CommonJS projects faced compatibility issues. While ESM is the future, the reality is that numerous production systems still rely on CJS.

  4. svgo

    ⚙️ Node.js tool for optimizing SVG files

    Project mention: How to optimize SVG files for better use in projects? | dev.to | 2025-03-26

    We often come across large and complex SVG files full of redundancies, which can be a hassle. Fortunately, we can optimize this with SVGO, a tool that reduces the size of SVG files by removing unnecessary data without compromising quality.

  5. ava

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

  6. SingleFile

    Web Extension for saving a faithful copy of a complete web page in a single HTML file

    Project mention: Ask HN: Good Pocket Alternative | news.ycombinator.com | 2025-01-27

    * I really just want pocket as a bookmarking tool than the web reader. The web reader works, but it's very bad in cases with a lot of embeds/code snippets. If a site is pay-walled, only a small section is available in Pocket. I usually open the actual page in this case than read in pocket.

    * Some links I added a long time ago are permanently lost because the original page got taken down. It'd be much better if a permanent snapshot was taken(including all the images, this is pretty easy to do with something like https://github.com/gildas-lormeau/SingleFile) of the page and is available even if the original page is lost.

  7. webpack-dashboard

    A CLI dashboard for webpack dev server

  8. git-history

    Quickly browse the history of a file from any git repository

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. social-analyzer

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

  11. readme-md-generator

    📄 CLI that generates beautiful README.md files

    Project mention: How to Improve Our GitHub? How to Prepare a Profile? How to Write a README? | dev.to | 2024-11-28

    For those who want simplicity: If you prefer to quickly create a structure with just a few clicks, the CLI-based Readme MD Generator is perfect for you! This tool helps you fill in basic details to generate a README file in no time.

  12. pipedream

    Connect APIs, remarkably fast. Free for developers.

  13. taskbook

    Tasks, boards & notes for the command-line habitat

  14. prompts

    ❯ Lightweight, beautiful and user-friendly interactive prompts

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

    Nice prompts and more: https://github.com/terkelg/prompts

  15. signale

    Highly configurable logging utility

  16. Release It! 🚀

    🚀 Automate versioning and package publishing

    Project mention: Create and publish an npm library, with TypeScript and Semantic Versioning | dev.to | 2024-09-12

    release-it: Also helps you bump the version, but it's simple to use (no need for CI knowledge); meanwhile, you don't configure it as fully automated.

  17. enquirer

    Stylish, intuitive and user-friendly prompts. 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 more! Please follow Enquirer's author: https://github.com/jonschlinkert

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

    Another prompt-and-more tool https://github.com/enquirer/enquirer

  18. standard-version

    :trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org

    Project mention: Git commit helper: add emojis to your commits | dev.to | 2024-05-04

    Using Conventional Commits ⭐ as a standard for your commit messages, makes Semantic Versioning 🔖 as easy as can be, with tools like Conventional Changelog 📄 Standard Version 🔖 and Semantic Release 📦🚀

  19. np

    A better `npm publish`

  20. plop

    Consistency Made Simple

    Project mention: Modular React architecture | dev.to | 2024-11-08

    I can't practically recommend it if you're working on a passion project or prioritize shipping & providing value above all. If you've got something that seems like it might expand in scope over time, or that you may want to completely overhaul after a POC, it can reduce tech debt... sometimes. You can use tools like Plop to generate this boilerplate.

  21. fkill

    Fabulously kill processes. Cross-platform.

  22. numi

    Beautiful calculator app for macOS, Linux & Windows

    Project mention: numi VS jupad - a user suggested alternative | libhunt.com/r/numi | 2025-02-25
  23. npm-run-all

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

    Project mention: Supercharge `npm run dev` with package.json scripts | dev.to | 2024-07-23

    npm-run-all

  24. hygen

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

    Project mention: Personal TODO list on how I set up my dev machine | dev.to | 2024-11-19

    I install hygen that I use to generate source code, and my templates.

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

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

Log in or Post with

JavaScript CLI related posts

  • Deploy AWS Lambda Functions and Amazon DynamoDB with AWS CDK on LocalStack

    4 projects | dev.to | 28 Mar 2025
  • HAX Student Innovation Pipeline (11)

    1 project | dev.to | 26 Mar 2025
  • CLI application with the Node.js Readline module (3/3)

    6 projects | dev.to | 19 Mar 2025
  • Building Single Executable Applications with Node.js

    2 projects | dev.to | 17 Mar 2025
  • Create your custom npm template package

    5 projects | dev.to | 10 Mar 2025
  • Gguser – A Simple CLI to Manage Multiple Git Profiles

    1 project | news.ycombinator.com | 2 Mar 2025
  • How To Build A CLI Using TypeScript And Bun

    3 projects | dev.to | 5 Feb 2025
  • A note from our sponsor - InfluxDB
    influxdata.com | 22 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Index

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

# Project Stars
1 zx 43,976
2 chalk 22,346
3 svgo 21,515
4 ava 20,772
5 SingleFile 17,391
6 webpack-dashboard 13,867
7 git-history 13,610
8 social-analyzer 12,321
9 readme-md-generator 10,998
10 pipedream 9,589
11 taskbook 9,042
12 prompts 9,025
13 signale 8,966
14 Release It! 🚀 8,371
15 enquirer 7,785
16 standard-version 7,787
17 np 7,627
18 plop 7,346
19 fkill 6,911
20 numi 5,975
21 npm-run-all 5,804
22 hygen 5,774
23 vorpal 5,644

Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?