# bundletool を Homebrew, Nix, scoop でインストール

bundletool のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:bundletool
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install bundletool
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bundletool
```

  証拠: nixpkgs package indexes: pkgs/by-name/bu/bundletool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/bundletool
```

  証拠: Scoop official bucket manifest trees: bucket/bundletool.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:bundletool
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.18.3
- **ソース概要:** Command-line tool to manipulate Android App Bundles
- **ホームページ:** <https://github.com/google/bundletool>
- **リポジトリ:** <https://github.com/google/bundletool>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- bundletool (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.18.3
## プロジェクトの歴史と使われ方

bundletool is Google's command-line tool for building, inspecting, generating, extracting, and installing Android App Bundles, Android SDK Bundles, and the APK sets derived from them.

### プロジェクトの歴史

bundletool grew out of the Android App Bundle distribution model introduced at Google I/O 2018. The official Android Developers blog described App Bundles and Google Play Dynamic Delivery as a way to publish all code and resources while letting Google Play deliver only the pieces matching a user's device.

The GitHub README defines bundletool's responsibilities around building app bundles from precompiled modules, generating APK Set archives for possible devices, extracting device-compatible APKs, installing those APKs, extracting device specs, and handling code transparency. It later also gained Android SDK Bundle responsibilities for runtime-enabled SDKs.

### 採用の歴史

bundletool became foundational Android packaging infrastructure because Android Studio, the Android Gradle plugin, and Google Play use it to construct App Bundles and convert them into APKs for deployment. Its command-line interface gives developers and CI systems the same underlying operations for local testing and release validation.

### 使われ方

Typical direct use includes generating an `.apks` archive from an `.aab`, extracting APKs compatible with a connected or described device, installing those APKs for testing, dumping bundle metadata, and creating device spec JSON. Most developers encounter it indirectly through Android Studio or Gradle, while release engineers use it explicitly in build pipelines.

### パッケージ好きにとっての重要性

bundletool is package-nerd significant because it separates the published Android package from the device-specific install artifact. It is the practical machinery behind App Bundles, split APK generation, dynamic delivery, code transparency checks, and SDK bundle packaging, so it changed what an Android 'package' means after the APK-only era.

### タイムライン

- 2018-05: Android App Bundle and Google Play Dynamic Delivery announced at Google I/O.
- 2018: bundletool repository and command-line workflow became the reference tooling for App Bundles.
- 2024: 1.17.x releases added runtime-enabled SDK bundle validations and commands.
- 2025-01: 1.18.0 added device group targeting support.
- 2025-12: 1.18.3 release notes show ongoing bundle and SDK packaging maintenance.

### Related projects

- Related projects and systems include Android Studio, the Android Gradle plugin, Google Play, APKs, Android App Bundles, APK Set archives, dynamic feature modules, R8, and Android SDK Bundles.

### ソース

- <https://android-developers.googleblog.com/2018/05/google-io-2018-whats-new-in-android.html>
- <https://developer.android.com/studio/command-line/bundletool>
- <https://developer.android.com/tools/bundletool>
- <https://github.com/google/bundletool>
- <https://github.com/google/bundletool/releases>
- <https://raw.githubusercontent.com/google/bundletool/master/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - bundletool: normalized package name match | nixpkgs package indexes: pkgs/by-name/bu/bundletool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/bundletool: normalized package name match | Scoop official bucket manifest trees: bucket/bundletool.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

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