JavaScript CLI

Open-source JavaScript projects categorized as CLI

Top 23 JavaScript CLI Projects

  • zx

    A tool for writing better scripts

    Project mention: Scripting with Go: A Modest Proposal | | 2023-08-20

    I ended up using this for my cli scripting needs.

  • pkg

    Package your Node.js project into an executable

    Project mention: Deno 1.35: A fast and convenient way to build web servers | | 2023-07-05

    Nodejs support for "single executable applications" is getting there - this issue below is preventing wider adoption at the moment:

    "The single executable application feature currently only supports running a single embedded script using the CommonJS module system."

    Should be an awesome game changer for node.js when the feature gets rounded out.

    Also check out vercel's `pkg`:

  • Amplication

    Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.

  • chalk

    🖍 Terminal string styling done right

    Project mention: Comparison of Node.js libraries to colorize text in terminal | | 2023-09-20

    Today the most popular library and de facto standard is the chаlk. The chalk has rich functionality, is fast but not ideal. It lacks some useful features.

  • ava

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

    Project mention: What Tools Are You Using to Test Your Code? | /r/node | 2023-08-12

    I've been looking at using japa or ava for web server testing but was curious what others were using and why.

  • svgo

    ⚙️ Node.js tool for optimizing SVG files

    Project mention: Dynamic SVG images using Next.js | | 2023-06-17

    In addition to the techniques we’ve discussed so far, there are optimization tools available that can further enhance SVG images. These tools, such as SVGO and ImageOptim, offer valuable features to reduce file size and clean up SVG markup, making it easier to standardize and optimize the overall performance of SVG assets.

  • webpack-dashboard

    A CLI dashboard for webpack dev server

  • git-history

    Quickly browse the history of a file from any git repository

    Project mention: Want to create attractive, interactive docs? Use these amazing documentation tools and examples | | 2022-12-02

    Rodrigo Pombo is the creator of Code Hike. He has been making tools to make code and technical data more comprehensible for some time. Previously, he applied a similar technique to make your git history easier to navigate and comprehend with git-history.

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • SingleFile

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

    Project mention: Pocket: It gets worse the more you use it | | 2023-07-08

    I’ve tried all the third party services for archiving interesting things over the years but nothing beats saving everything to your local filesystem using [SingleFile]( and using a full-text search front over the directory (something like Houdahspot, for example).

  • readme-md-generator

    📄 CLI that generates beautiful files

  • social-analyzer

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

    Project mention: What are some tools that employers can use to find your online accounts? | /r/privacy | 2023-02-10
  • signale

    Highly configurable logging utility

    Project mention: 7 Best Node.js Logging Libraries for Your Next Projects | | 2022-12-13

    Signale consists of 19 loggers for Javascript applications. It supports TypeScript and scoped logging. It consists of timers that help log the timestamp, data, and filename. Apart from the 19 loggers like await, complete, fatal, fav, info, etc., one can create custom logs.

  • taskbook

    Tasks, boards & notes for the command-line habitat

    Project mention: Have you made a bash script that improved your life in some way? My examples | /r/commandline | 2023-03-23

    Also I use taskbook to store tasks and notes across multiple boards from within a terminal. Furthermore I use a commands-manager - cli utility to group, manage and execute stored commands by patterns, grouppings, priorities. For example I have some notes stored by taskbook in order to search for items related to `english` topic I can use

  • prompts

    ❯ Lightweight, beautiful and user-friendly interactive prompts

    Project mention: Prompt - User-friendly interactive prompts for Go. | /r/golang | 2023-02-10

    Recently, I developed a go package that allows users to pass parameters through input or selection in tui. Similar to create-vue. You can see some screenshots in the README. Based on Bubble Tea. Inspired by Prompts.

  • standard-version

    :trophy: Automate versioning and CHANGELOG generation, with and

    Project mention: Starting React Native Project in 2023 | | 2023-01-06

    We can use standard-version tool to generate a changelog, bump the version of app and create a new tag automatically.

  • 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: For achieving the widest adoption among Windows users, which commonly used scripting language would be best suited for a CLI program?% | /r/AskProgramming | 2023-03-10

    Although I'm happy there is a way to bundle Node.js apps with support for pnpm, and for a modern-ish version of Node.js, it's somewhat slow in my experience to build locally. Interactivity doesn't have the greatest ecosystem there, especially with TypeScript. Best library I've found is Enquirer.

  • np

    A better `npm publish`

    Project mention: Publishing a NodeJS CLI tool to NPM | | 2023-05-15

    np documentation

  • pipedream

    Connect APIs, remarkably fast. Free for developers.

    Project mention: IFTTT IG -> Google Maps (??) | /r/ifttt | 2023-02-12

    Not sure if IFTTT has a plugin but I suspect not, I've currently got a Pipedream feature request that they are now adding it to their platform (it's not ready yet) but you'll still need to request the API access yourself. Pipedream: Google My Business Feature Request (I am NebularNerd)

  • Release It! 🚀

    🚀 Automate versioning and package publishing

    Project mention: automatic changelog generation with CI | /r/gitlab | 2023-03-25
  • fkill

    Fabulously kill processes. Cross-platform.

  • plop

    Consistency Made Simple

    Project mention: Como reduzir o "copia & cola" no seu dia a dia com Code Generators | | 2022-12-26


  • vorpal

    Node's framework for interactive CLIs

    Project mention: Use GNU Emacs | | 2023-03-03

    I occasionally try that as well and it sometimes helps but not for things like node apps that use REPLs. They just aren't usable in shell-mode.

  • npm-run-all

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

    Project mention: Why does default TypeScript create-vue app only run type checking against Vitest config? | /r/vuejs | 2022-11-11

    Now, the tsconfig.vitest.json seems to be the most "complete" (it will check app files as well as test files), so it's a good choice if you really had to choose one config and run with it (and you still get type checking in the IDE for each config). But, this doesn't include the files from tsconfig.config.json, and as an app grows, the "app" and "vitest" configs may diverge, so wouldn't it be best to use something like concurrently or npm-run-all to run vue-tsc against all 3 configs?

  • hygen

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

    Project mention: Automating writing using a template generator | | 2023-03-08 is the best code/template generator.

  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

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 2023-09-20.

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 38,553
2 pkg 23,741
3 chalk 20,728
4 ava 20,493
5 svgo 19,591
6 webpack-dashboard 13,888
7 git-history 13,388
8 SingleFile 11,909
9 readme-md-generator 10,514
10 social-analyzer 10,495
11 signale 8,805
12 taskbook 8,804
13 prompts 8,137
14 standard-version 7,274
15 enquirer 7,250
16 np 7,229
17 pipedream 7,192
18 Release It! 🚀 6,956
19 fkill 6,764
20 plop 6,526
21 vorpal 5,595
22 npm-run-all 5,466
23 hygen 5,281
Tired of breaking your main and manually rebasing outdated pull requests?
Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.