# 使用 Homebrew, scoop, winget 安装 jabba

查看 jabba 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:jabba
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jabba
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/jabba
```

  证据: Scoop official bucket manifest trees: bucket/jabba.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id jabba-team.jabba -e
```

  证据: Windows Package Manager source index: jabba-team.jabba from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:jabba
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/jabba>
- **版本:** 0.15.0
- **来源摘要:** Cross-platform Java Version Manager
- **主页:** <https://github.com/Jabba-Team/jabba>
- **仓库:** <https://github.com/Jabba-Team/jabba>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/Jabba-Team/jabba/archive/refs/tags/0.15.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- jabba (cli)
- jabba (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- 注意事项: Add the following line to your ~/.bashrc or ~/.zshrc file: [ -s "$HOMEBREW_PREFIX/opt/jabba/jabba.sh" ] && . "$HOMEBREW_PREFIX/opt/jabba/jabba.sh" If you use the Fish shell then add the following line to your ~/.config/fish/config.fish: [ -s "$HOMEBREW_PREFIX/opt/jabba/jabba.fish" ]; and source "$HOMEBREW_PREFIX/opt/jabba/jabba.fish"
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.15.0
- 本地数据: OK
- 上游仓库: https://github.com/Jabba-Team/jabba
- 检测到的最新版本: 0.15.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

jabba is a cross-platform Java version manager inspired by nvm. It gives Java developers a command-line way to install, list, switch, and pin JDK distributions across macOS, Linux, and Windows.

### 项目历史

The original shyiko/jabba repository was created in 2016 and released through the 0.11.x line by early 2019. The Jabba-Team README identifies its repository as a community fork of that original project, written in Go, and describes a goal of making JDK installation and switching uniform across operating systems.

The community fork was created in 2022. Its release stream resumed with 0.12.0 in 2022, followed by 0.13.0 in 2023, 0.14.0 in 2024, and 0.15.0 in 2026.

### 采用历史

jabba's adoption followed the same developer ergonomics pattern as nvm, pyenv, and rbenv: put language runtimes under a user directory, switch versions in the shell, and allow per-project pinning. The package metadata lists Homebrew, Scoop, and winget, matching its cross-platform target.

### 使用方式

The README documents commands such as jabba ls-remote, jabba install, jabba use, jabba alias default, and per-project selection through .jabbarc. It supports named distributions including Oracle JDK, Zulu, OpenJDK variants, GraalVM, Liberica, Corretto, Temurin/Adoptium, and custom URLs.

### 为什么软件包爱好者会关心

jabba is package-nerd bait because it treats JDKs themselves as installable artifacts with semver-ish selectors, vendor qualifiers, architecture filtering, and shell integration. It is a tiny package manager for a package manager's favorite headache: Java runtime multiplicity.

### 时间线

- 2016: The original shyiko/jabba repository was created.
- 2019: Original 0.11.2 release published.
- 2022: Jabba-Team community fork was created and 0.12.0 was released.
- 2024: Jabba-Team 0.14.0 was released.
- 2026: Jabba-Team 0.15.0 was released.

### Related projects

- Related projects include nvm, SDKMAN!, asdf, jEnv, DiscoAPI, foojay, Adoptium/Temurin, GraalVM, Zulu, Corretto, and other JDK distribution indexes.

### 来源

- <https://api.github.com/repos/Jabba-Team/jabba/releases?per_page=100>
- <https://api.github.com/repos/shyiko/jabba>
- <https://api.github.com/repos/shyiko/jabba/releases?per_page=100>
- <https://formulae.brew.sh/formula/jabba>
- <https://github.com/Jabba-Team/jabba>
- <https://raw.githubusercontent.com/Jabba-Team/jabba/main/README.md>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## 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

- Unix: .jabbarc, ~/.jabba/
- Windows: %USERPROFILE%/.jabba
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jabba
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Scoop - main/jabba: normalized package name match | Scoop official bucket manifest trees: bucket/jabba.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - jabba-team.jabba: normalized package name match | Windows Package Manager source index: jabba-team.jabba from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [jenv](https://pkg.so/zh-hans/brew/jenv/) - Shares pkgdb curated category or tags: cli, developer-tools, java, version-manager.
- [vfox](https://pkg.so/zh-hans/brew/vfox/) - Shares pkgdb curated category or tags: cli, developer-tools, java, version-manager.
- [uru](https://pkg.so/zh-hans/brew/uru/) - Shares pkgdb curated category or tags: cli, cross-platform, developer-tools, version-manager.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Shares pkgdb curated category or tags: cli, cross-platform, developer-tools.
- [maven](https://pkg.so/zh-hans/brew/maven/) - Shares pkgdb curated category or tags: cli, developer-tools, java.
- [meson](https://pkg.so/zh-hans/brew/meson/) - Shares pkgdb curated category or tags: cli, cross-platform, developer-tools.
- [gradle](https://pkg.so/zh-hans/brew/gradle/) - Shares pkgdb curated category or tags: cli, developer-tools, java.
- [rbenv](https://pkg.so/zh-hans/brew/rbenv/) - Shares pkgdb curated category or tags: cli, developer-tools, version-manager.
- [bazelisk](https://pkg.so/zh-hans/brew/bazelisk/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, manager, version.
- [bob](https://pkg.so/zh-hans/brew/bob/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, manager, version.

## Combined YAML source

View the package source record on GitHub. [combined/jabba.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jabba.yml)


## 来源

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