TypeScript Command-line utilities

Open-source TypeScript projects categorized as Command-line utilities

Top 8 TypeScript Command-line utility Projects

Command-line utilities
  1. Ink

    🌈 React for interactive command-line apps

    Project mention: How I Built a TUI Without Leaving the Terminal | dev.to | 2025-04-13

    For quite some time, this project was just sitting idle in my TO-DO list while I did my research on finding the perfect way I could do that. And that’s when I found Ink. It's a way I can use React for interactive command-line apps. Yeah, it's old but it’s a well-maintained and documented open-source project. I found it to be a perfect fit for my use case, ‘caz I did know JS/TS well and had hands-on experience in React itself. So, I believed it was going to be fun to build. Also, I couldn't find anyone who took this approach to build a highly intrusive TUI with React and Ink specifically, so either I’m making history or I’m one step closer to becoming that mad guy. Win-Win situation haha.

  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. Inquirer.js

    A collection of common interactive command line user interfaces.

    Project mention: Create your custom npm template package | dev.to | 2025-03-10

    We need to ask our users about the project our package will create. To accomplish this task we need the inquirer package (the following code is referencing the linked version, but feel free to use the new version of inquirer and edit the code example).

  4. Bit

    A build system for development of composable software.

    Project mention: Understanding how Vite deals with your node_modules | dev.to | 2025-04-20

    As part of my job, recently I'm working on integrating Vite (also Vitest) into a dev tool called Bit, which originally uses webpack in most of the cases. Basically, Bit is a component-driven development tool for various frontend frameworks and Node.js. In Bit, everything is a component and eventually consumed as an npm package. So technically, you would deal with all kinds of components as packages in your node_modules folder, whatever they are in CJS or ESM, need to be further transformed or not.

  5. oclif

    CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.

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

    oclif is one example. This tool helps us create powerful CLI applications by optimizing the workflow. oclif defines everything, from the directory structure to the help commands generated for new features. All you need to do is focus on writing the logic. After a "build" step, oclif produces a complete CLI application, including usage instructions without requiring you to do many additional steps.

  6. conf

    Simple config handling for your app or module

  7. gradient-string

    :rainbow: Beautiful color gradients in terminal output

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

    Additionally, you can combine with chalk to style the text. This is a great library to change colors, add effects like "bold", "dim", "italic"... to highlight content. Or if you prefer a "rainbow" effect, gradient-string is unbeatable.

  8. listr2

    NodeJS Task List derived from the best! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.

    Project mention: TypeScript CLI: Automate Build and Deploy Scripts | dev.to | 2025-01-27

    We will use Listr2 as a task runner to define the steps required to build and deploy the app. We will use execa to run CLI commands for Vite and AWS. Since we're running TypeScript code, we could use the programmatic APIs instead of CLI commands, but let's keep it simple!

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

    NodeJS Framework for Interactive CLIs

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

TypeScript Command-line utilities discussion

Log in or Post with

TypeScript Command-line utilities related posts

  • Micro Frontends: Enabling Scalable and Autonomous Development with Build-Time Integration

    2 projects | dev.to | 18 Feb 2025
  • Bit: Compose performant, consistent platforms from independent business features

    1 project | news.ycombinator.com | 15 Feb 2025
  • Typescript scripts in the command line: Using Node.JS

    3 projects | dev.to | 6 Feb 2025
  • From Specific to Reusable: Transforming UI Components with Bit

    1 project | dev.to | 8 Jan 2025
  • Using Multiple Versions of a Package in a Single Project: Why and How

    1 project | dev.to | 1 Jan 2025
  • The Case for Build-Time Micro Frontends

    1 project | dev.to | 1 Jan 2025
  • Building Composable Platforms with Harmony

    1 project | dev.to | 18 Dec 2024
  • A note from our sponsor - InfluxDB
    influxdata.com | 21 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 Command-line utility projects in TypeScript? This list will help you:

# Project Stars
1 Ink 28,200
2 Inquirer.js 20,725
3 Bit 18,052
4 oclif 9,177
5 conf 1,270
6 gradient-string 1,125
7 listr2 563
8 Cliffy 363

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