macOS
brew install jbanglocal Homebrew formula metadata
brew / rank 2529
Tool to create, edit and run self-contained source-only Java programs. Version 0.141.0 via Homebrew; verified 2026-07-14. Also installable with nix: nix profile install nixpkgs#jbang.
install
brew install jbanglocal Homebrew formula metadata
nix profile install nixpkgs#jbangnixpkgs package indexes · pkgs/by-name/jb/jbang/package.nix · source: api.github.com
choco install jbangChocolatey community package catalog · jbang · source: community.chocolatey.org
scoop install main/jbangScoop official bucket manifest trees · bucket/jbang.json · source: api.github.com
overview
Tool to create, edit and run self-contained source-only Java programs
history
JBang is a command-line tool for writing, running, editing, sharing, and installing source-only Java programs without creating a traditional Maven or Gradle project first. It brings shebang-style scripting, dependency directives, catalog aliases, and IDE integration to Java.
The JBang FAQ says Max Rydahl Andersen came to the idea while exploring Java 10 shebang support and the Kotlin kscript project, asking why the same style could not be done with Java. The FAQ says JBang was released in December 2019.
The repository README frames JBang as a way to run .java files directly, declare Maven dependencies with //DEPS, work with Java, Kotlin, Groovy, JShell, and Markdown, open scripts in IDEs, build native binaries with GraalVM, and share scripts through GitHub URLs, aliases, and catalogs.
JBang spread through Java developer tooling channels rather than through one application framework: the official README lists SDKMAN, Homebrew, Chocolatey, and Scoop installs, and the FAQ links to talks, articles, podcasts, and Quarkus-related presentations. The package metadata in the input also shows Homebrew, Chocolatey, Nix, and Scoop coverage.
A common JBang script starts with a comment-form shebang line, uses directives such as //DEPS and //JAVA, and runs with the jbang command. Users can also initialize templates, edit generated IDE projects, install commands as apps, run remote scripts, manage aliases and catalogs, and export scripts toward richer project or native-image forms.
JBang is package-nerd significant because it treats Maven Central as a scripting package universe. It reduces the gap between one-file scripts and full JVM applications, giving Java a workflow closer to Python, shell, or Node command snippets while keeping Java libraries, IDEs, and GraalVM in play.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.jbang/jbang-catalog.json.jbang/jbang-catalog.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jbang | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:jbang |
|---|---|
| Version | 0.141.0 |
| Package manager | Homebrew |
| Homepage | https://jbang.dev/ |
| Repository | https://github.com/jbangdev/jbang |
| Last updated | 2026-07-14T06:33:35Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
jbang
nix profile install nixpkgs#jbangjbang
choco install jbangmain/jbang
scoop install main/jbangsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.