
All-in-One Java CLI
The Java ecosystem is rich. So rich that one can get easily lost. jbx (pronounced "jay-box") is a highly opinionated native command line utility that provides everything required to use Java for daily tasks.
$ curl -fsSL https://jbx.telegraphic.dev/install.sh | bash
$ npx skills add telegraphic-dev/jbx
For humans
jbx executes JBang-style scripts and launches artifacts from Maven Central without turning a small task into a build-system archaeology dig.
jbx hello.java
jbx org.openapitools:openapi-generator-cli
For agents
jbx provides the pieces agents need to write Java effectively and verify their work without guessing.
jbx skill list
jbx skill get jbx-init
jbx init -t hello hello.java
jbx fmt hello.java
jbx init -t test hello_test.java
jbx test hello_test.java --coverage
jbx hello.java
What jbx gives you
- templates
- automatic JDK provisioning
- dependency search and resolution
- documentation in structured format
- formatting and linting
- deterministic rewriting and AST manipulation
- artifact publication
Start here
Continue to the Documentation for common use cases, or use Commands for the CLI reference.
Acknowledgement
jbx builds on the shoulders of giants:
- JBang — Inspiration for Java scripting, directives, and the practical “run this Java file now” workflow.
- Zero — Agent-first CLI north-star language: scriptable, inspectable, deterministic, and friendly to autonomous coding loops.
- JUnit — the standard testing platform for modern Java.
- JaCoCo — Java code coverage reports for test runs.
- Palantir Java Format — deterministic Java formatting.
- Error Prone — compile-time bug detection for Java.
- OpenRewrite — automated source rewriting and recipe-driven code modernization.
- JavaParser — Java AST parsing and serialization for structured source manipulation.
