Java CLI

Open-source Java projects categorized as CLI

Top 23 Java CLI Projects

  • picocli

    Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.

    Project mention: any opinion good or bed about a code that smells? | | 2023-01-28

    Complex argument parsing needs to be auto-generated by libraries like picocli. Even if you need something custom, it'd be quicker to write an Annotation processor from scratch than editing that file.

  • Uber Apk Signer

    A cli tool that helps signing and zip aligning single or multiple Android application packages (APKs) with either debug or provided release certificates. It supports v1, v2 and v3 Android signing scheme has an embedded debug keystore and auto verifies after signing.

  • Sonar

    Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • TUI-ConsoleLauncher

    Linux CLI Launcher for Android

    Project mention: How do I make the top margin smaller? I'm pretty new to this kind of thing. | | 2022-07-18
  • jenkinsfile-runner

    A command line tool to run Jenkinsfile as a function

    Project mention: GitHub Is Having Another Outage | | 2022-06-01
  • Jansi

    Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.

    Project mention: Library like Python Rich | | 2022-09-27

    jansi Allows you to use ANSI escape colorization/handling Probably insufficient for your use case though.

  • progressbar

    Terminal-based progress bar for Java / JVM (by ctongfei)

  • jreleaser

    :rocket: Release projects quickly and easily with JReleaser

    Project mention: Is is possible to ship Java app with Embedded JVM? | | 2022-04-24
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • GlobalPlatformPro

    🌐 🔐 Manage applets and keys on JavaCard-s like a pro (via command line or from your Java project)

    Project mention: Tillitis Security Key – Mullvad spin-off inspired by measured boot and DICE | | 2022-09-19

    JavaCard is the answer for smartcards. You can find example card software all over github, and you're looking for the JavaCard SDK from Oracle and GlobalPlatformPro to program them: There's even an ant task around somewhere that allows you to use ant tooling. Blank cards with "developer"/default keys can be picked up pretty much anywhere.

    Buy blank cards, write your applet, test in an emulator if you want, push to card, test for real with your software that talks to the card, profit. Be aware that if your goal is to write custom cryptography implementations in Java on the Javacard, these will be prohibitively slow. No need to take my word for it, Niels Duif did exactly this:

    > Java Card proves to be a worthless platform for high-speed cryptography. Despite the

  • ASCII Table

    Several implementations of a text table, originally using ASCII and UTF-8 characters for borders.

  • bcrypt

    A Java standalone implementation of the bcrypt password hash function. Based on the Blowfish cipher it is the default password hash algorithm for OpenBSD and other systems including some Linux distributions. Includes a CLI Tool. (by patrickfav)

    Project mention: bcrypt VS password4j - a user suggested alternative | | 2022-06-20
  • Text-IO

    A library for creating interactive console applications in Java

    Project mention: run code in cmd | | 2022-09-22

    Alternatively, if you want to do something overkill, you could just refactor the program to make it open a GUI-based terminal instead (such as this:

  • plugin-installation-manager-tool

    Plugin Manager CLI tool for Jenkins

  • webtau

    WebTau (short for web test automation) is a testing API, command line tool and a framework to write unit, integration and end-to-end tests. Test across REST-API, GraphQL, Browser, Database, CLI and Business Logic with consistent set of matchers and concepts. REPL mode speeds-up tests development. Rich reporting cuts down investigation time.

    Project mention: Simple and powerful HTTP API tests | | 2023-01-03

    To run the test, we will use WebTau command line tool. One way to install it is to use brew. Other options available in documentation Installation section.

  • kcctl

    A modern and intuitive command line client for Kafka Connect

    Project mention: Getting Started as a Kafka Developer | | 2023-01-30

    kcctl (CLI for Kafka Connect) -

  • spring-boot-migrator

    Spring Boot Migrator (SBM) is a tool for automated code migrations to upgrade or migrate to Spring Boot

    Project mention: Whats a good tool for applying code changes to many repos | | 2022-11-23

    Check out Spring Boot Migrator as well as openrewrite

  • density-converter

    A multi platform image density converting tool converting single or batches of images to Android, iOS, Windows or CSS specific formats and density versions given the source scale factor or width/height in dp. It has a graphical and command line interface and supports many image types (svg, psd, 9-patch, etc.) aswell as some lossless compressors like pngcrush.

  • mqtt-cli

    MQTT CLI is a useful command line interface for connecting various MQTT clients supporting MQTT 5.0 and 3.1.1

    Project mention: How can I communicate to an MQTT broker form the Angular frontend? Is it used as an intermediary between the backend+server, embedded list of devices, and frontend? | | 2023-01-23

    BTW MQTT is not much harder than HTTP (if at all), there are even CLIs that you can run to test things out.

  • crowdin-cli

    A command-line client for the Crowdin API

    Project mention: Contribution to Crowdin CLI | | 2022-11-19

    I wanted to try Java project to experience more professional code in Java. I picked up Crowdin CLI as it seems either not too big or not too small. The issue was asking to write a test for newly introduced feature.

  • riot

    Get data in and out of Redis (by redis-developer)

    Project mention: Redis and importing a CSV file into it | | 2022-12-08

    The RIOT tool could help you with this, it's designed for importing lots of data into Redis

  • Java ASCII Render

    ASCII renderer in pure java with no external dependencies

  • Uber Adb Tools for Android

    A tool that enables advanced features through adb installing and uninstalling apps like wildcards and multi device support. Useful if you want to clean your test device from all company apks or install a lot of apks in one go. Written in Java so it should run on your platform.

  • Telosys

    Telosys Command Line Interface - Code Generator for any language with any framework

    Project mention: JHipster VS telosys-cli - a user suggested alternative | | 2022-06-30

    Simple and pragmatic code generator designed to bootstrap any kind of project (any language with any framework) It generates all the boilerplate code and put the project on the rails. Hosted by OW2 foundation (Technology Award in June 2022)

  • airline

    Java annotation-based framework for parsing Git like command line structures with deep extensibility (by rvesse)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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-01-30.

Java CLI related posts


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

Project Stars
1 picocli 4,077
2 Uber Apk Signer 1,199
3 TUI-ConsoleLauncher 1,094
4 jenkinsfile-runner 994
5 Jansi 966
6 progressbar 911
7 jreleaser 736
8 GlobalPlatformPro 521
9 ASCII Table 418
10 bcrypt 332
11 Text-IO 297
12 plugin-installation-manager-tool 288
13 webtau 278
14 kcctl 278
15 spring-boot-migrator 253
16 density-converter 234
17 mqtt-cli 226
18 crowdin-cli 182
19 riot 142
20 Java ASCII Render 140
21 Uber Adb Tools for Android 128
22 Telosys 120
23 airline 114
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives