# bloat-show-cli
The `bloat-show` command: render `cargo bloat` JSON as an interactive HTML treemap.
No Cargo or toolchain needed — useful on CI artifacts.
```sh
cargo install bloat-show-cli
cargo bloat --release --message-format=json -n 0 > bloat.json
bloat-show bloat.json --open
Pass `-` to read standard input.
| `-o, --output <PATH>` | Report path (default `./bloat.html`) |
| `--open` | Open in the default browser |
| `--color <WHEN>` | `auto`, `always` or `never`; `NO_COLOR` is honored |
To run the analysis too, use
[`cargo-bloat-show`](https://crates.io/crates/cargo-bloat-show). Rendering lives in
[`bloat-show`](https://crates.io/crates/bloat-show).
MIT licensed. See [LICENSE](../../LICENSE).