heroku buildpacks commands support --json
Introduced 2026-08-19 · score 0.90
HOW TO USE IT
When retrieving buildpack data, add `--json` to the applicable `heroku buildpacks` command or subcommand to output JSON.
heroku buildpacks -a <app> --jsonheroku buildpacks:info <namespace/name> --jsonheroku buildpacks:add <namespace/name> -a <app> --jsonWHY THIS HELPS
Retrieve structured JSON output while using a Heroku buildpacks command.
REQUIREMENTS AND LIMITATIONS
- Version: v11.10.0
- --json / -j: Output in JSON format.
- -a, --app=<app> (required): App to run the command against; documented as required for `buildpacks` and app mutation subcommands such as `add`.
- BUILDPACK (required): Buildpack identifier in `namespace/name` format for `info` and `add`.
- The flag is stated to apply to buildpacks and its subcommands.
FIRST-PARTY EVIDENCE
- https://github.com/heroku/cli/releases/tag/v11.10.0
- https://devcenter.heroku.com/articles/heroku-cli-commands
Check the installed version and the source before using it. Entry JSON