---
title: Bundle
description: Create a JSON ABI dependency manifest for tooling with thru abi bundle
source_url:
  html: https://thru.org/docs/cli-reference/abi-bundle/
  md: https://thru.org/docs/cli-reference/abi-bundle.md
---

# Bundle

Use `thru abi bundle` when you want a machine-readable dependency manifest rather than a flattened YAML file.

## Use This When

- you are preparing ABI dependencies for WASM-backed or browser tooling
- you want resolved package content in one JSON artifact
- you need both local and remote imports resolved before another tool consumes them

Choose another ABI command when:

- you want a YAML output artifact: [Flatten](https://thru.org/docs/cli-reference/abi-flatten.md) or [Prep for Publish](https://thru.org/docs/cli-reference/abi-prep-for-publish.md)
- you want to inspect one binary payload: [Reflect](https://thru.org/docs/cli-reference/abi-reflect.md)

## Syntax

```bash
thru abi bundle \
  --file <FILE> \
  --output <FILE> \
  [--include-dir <DIR>...] \
  [--verbose]
```

## Output

`bundle` resolves dependencies and writes a pretty-printed JSON manifest that maps packages to resolved ABI YAML content.

## Minimal Pattern

```bash
thru abi bundle \
  --file ./program.abi.yaml \
  --include-dir ./abi \
  --output ./dist/program.manifest.json \
  --verbose
```

## Notes

- `bundle` is the ABI command most clearly aimed at downstream tooling rather than human review.
- Verbose mode prints the resolved package count and package names before writing the manifest.
- If your task only needs a local, publish-ready YAML file, `bundle` is usually more output than you need.
