SaaSHub helps you find the best software and product alternatives Learn more โ
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.
His project uses picocli for argument parsing. I briefly looked through the documentation and realized it was pretty similar to the clap crate I used for my project. So I mimicked his other code as well as my own understanding of clap. This part was easy.
-
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.
-
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.
-
-
-
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.
-
-
JReleaser - JReleaser is a powerful, flexible release automation tool for Java developers, designed to streamline the process of releasing projects across multiple platforms. Its primary goal is to simplify the creation of release assets, including JARs, native installers, Docker images, and more, while automating the publishing process to various distribution platforms like GitHub, GitLab, and Maven Central. It supports Java, Go, Node, Rust, Zig, Swift, Perl, Python, C/C++, C#, Elixir, Haskell, Ruby, Crystal, and more.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
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: What Okta Bcrypt incident can teach us about designing better APIs | dev.to | 2025-01-22I decided to check other Google results, and the next Java library in the list was bcrypt from Patrick Favre (link to GitHub repo) with 513 starts and the last release version 0.10.2 (so, not stable) from 12th of February 2023 (almost 2 years old). This suggested that I'd not use it in production, but why not to run our tests.
-
ASCII Table
Several implementations of a text table, originally using ASCII and UTF-8 characters for borders.
-
spring-boot-migrator
Spring Boot Migrator (SBM) is a tool for automated code migrations to upgrade or migrate to Spring Boot
-
-
Very nice to see JReleaser here on HN! I'm very happy with it, using it for publishing releases of kcctl (a command line client for Kafka Connect written in Java, compiled and published as native binaries for Linux/MacOS/Win via GraalVM). Here's the config, in case folks are looking for an example: https://github.com/kcctl/kcctl/blob/main/pom.xml#L430-L530. Releases are triggered by running a parameterized workflow (taking the version to be released) on GitHub Actions.
A big shout-out to Andres Almiray, the maintainer of JReleaser, who has always been super-fast to answer any questions and help to sort out issues when I ran into them.
-
webtau
WebTau (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, WebSocket, GraphQL, Browser, Database, CLI and Business Logic with a consistent set of matchers and concepts. REPL mode speeds-up tests development. Rich reporting cuts down investigation time.
-
-
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: Part 1 - Gathering PM values from the sensor, pushing and saving them to the cloud storage (TCH) | dev.to | 2024-09-02# install the mqtt client curl -L -o mqtt-cli-4.31.0.deb https://github.com/hivemq/mqtt-cli/releases/download/v4.31.0/mqtt-cli-4.31.0.deb sudo apt install ./mqtt-cli-4.31.0.deb # push a message to the topic "pm_monitor" mqtt pub \ -h $endpoint_address \ -p 8883 \ --cafile AmazonRootCA1.pem \ --cert gateway.certificate.pem \ --key gateway.private_key.pem \ -t $monitor_topic \ -m "{ \"plant_name\": \"plant-abc\", \"date_time\": 1633036800, \"pm25\": 12.5, \"pm10\": 20.3, \"machine\": { \"name\" : \"machine-one\", \"type\" : \"type-1\", \"code\" : \"mot1\" } }" \ -d -V 5 -q 0
-
-
To keep the translation files updated, we use Crowdin CLI to upload the source files and download translations.
-
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.
-
-
In fact, there are a few. For instance, Telosys (that we also covered here). But Telosys defines itself as a "lightweight and pragmatic code generator", not as a low-code tool. Once again, the diverse terminology in our area makes a small domain even smaller and hides useful tools from potential users that are using the "wrong" keywords. To read mode about the relationship between the low-code and model-driven communities, take a look at our work on a Metascience Study of the Adoption of Low-Code terminology in Modeling Publications, which we are now updating and extending as I still believe it's an important discussion to have in our community.
-
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.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Java CLI discussion
Java CLI related posts
-
GitHub-traffic: GitHub traffic CLI utility with bonus features
-
Jreleaser
-
JBang, the missing scripting tool of the Java ecosystem
-
Java in the Small
-
Top 7 DevOps & Containerization Platforms for Next.js 2024
-
Part 1 - Gathering PM values from the sensor, pushing and saving them to the cloud storage (TCH)
-
Show HN: Pyzam, Shazam for DJs and Mixtapes in Python
-
A note from our sponsor - SaaSHub
www.saashub.com | 25 Mar 2025
Index
What are some of the best open-source CLI projects in Java? This list will help you:
# | Project | Stars |
---|---|---|
1 | picocli | 5,050 |
2 | Uber Apk Signer | 2,087 |
3 | TUI-ConsoleLauncher | 1,254 |
4 | jenkinsfile-runner | 1,158 |
5 | Jansi | 1,147 |
6 | progressbar | 1,112 |
7 | jreleaser | 1,081 |
8 | GlobalPlatformPro | 746 |
9 | bcrypt | 524 |
10 | ASCII Table | 506 |
11 | spring-boot-migrator | 461 |
12 | plugin-installation-manager-tool | 408 |
13 | kcctl | 397 |
14 | webtau | 372 |
15 | Text-IO | 342 |
16 | mqtt-cli | 327 |
17 | riot | 304 |
18 | crowdin-cli | 263 |
19 | density-converter | 247 |
20 | Drifty | 178 |
21 | Telosys | 175 |
22 | Uber Adb Tools for Android | 165 |
23 | Java ASCII Render | 158 |