pkg.soopen package index

brew / rank 2529

Install jbang with Homebrew, chocolatey, Nix, scoop

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

Additional install commands

macOS

Homebrewverified · 100%
brew install jbang

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#jbang

nixpkgs package indexes · pkgs/by-name/jb/jbang/package.nix · source: api.github.com

overview

Package summary

Tool to create, edit and run self-contained source-only Java programs

Commands and aliases

  • jbang

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2019: JBang is released in December, according to the FAQ.
  • 2021: JBang documentation is built with Antora and published under jbang.dev.
  • 2020s: JBang adds catalog aliases, app installation, IDE integration, multiple source languages, and native-image workflows.
  • 2026: The repository release notes document a CLI parser migration from picocli to Aesh and early-access native binary distribution work.

Related projects

  • JBang is related to Java 10 single-file source execution, kscript, Maven Central, SDKMAN, Chocolatey, Scoop, GraalVM native-image, Quarkus command-line workflows, JShell, Groovy, Kotlin, and Java build tools such as Maven and Gradle.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.jbang/jbang-catalog.json.jbang/jbang-catalog.json

executables

Installed executables

CommandKindExposureNote
jbangexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version0.141.0
manager updated2026-07-14
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:jbang
Version0.141.0
Package managerHomebrew
Homepagehttps://jbang.dev/
Repositoryhttps://github.com/jbangdev/jbang
Last updated2026-07-14T06:33:35Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

jbang

nix profile install nixpkgs#jbang
  • normalized package name match
  • Matched by: Jbang
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/jb/jbang/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Chocolatey95%

jbang

choco install jbang
  • normalized package name match
  • Matched by: Jbang
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: jbang from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','java7u13x86'
Scoop95%

main/jbang

scoop install main/jbang
  • normalized package name match
  • Matched by: Jbang
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/jbang.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation