macOS
brew install jbanglocal Homebrew formula metadata
安装
brew install jbanglocal Homebrew formula metadata
nix profile install nixpkgs#jbangnixpkgs package indexes · pkgs/by-name/jb/jbang/package.nix · 来源: api.github.com
choco install jbangChocolatey community package catalog · jbang · 来源: community.chocolatey.org
scoop install main/jbangScoop official bucket manifest trees · bucket/jbang.json · 来源: api.github.com
概览
Tool to create, edit and run self-contained source-only Java programs
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jbang | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:jbang |
|---|---|
| 版本 | 0.141.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://jbang.dev/ |
| 仓库 | https://github.com/jbangdev/jbang |
| 最后更新 | 2026-07-14T06:33:35Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
jbang
nix profile install nixpkgs#jbangjbang
choco install jbangmain/jbang
scoop install main/jbang来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.