# Install bundletool with Homebrew, Nix, scoop

Command-line tool to manipulate Android App Bundles. Version 1.18.3 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#bundletool.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install bundletool
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:bundletool
- **Package manager:** Homebrew
- **Version:** 1.18.3
- **Source summary:** Command-line tool to manipulate Android App Bundles
- **Homepage:** <https://github.com/google/bundletool>
- **Repository:** <https://github.com/google/bundletool>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- bundletool (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.18.3
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

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


## Sources

- 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
