# Install jsonpp with Homebrew

Command-line JSON pretty-printer. Version 1.3.0 via Homebrew; verified 2026-07-25.

## Install

```sh
sudo av install brew:jsonpp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jsonpp
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:jsonpp
- **Package manager:** Homebrew
- **Version:** 1.3.0
- **Source summary:** Command-line JSON pretty-printer
- **Homepage:** <https://jmhodges.github.io/jsonpp/>
- **Repository:** <https://github.com/jmhodges/jsonpp>
- **Last updated:** 2026-07-25T20:58:05-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- jsonpp (alias)

## Install behavior

- Bottle: not available

## Freshness

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

jsonpp is a fast command-line JSON pretty-printer written in Go. It is intentionally small: read JSON from a web response or file, format it for humans, and exit.

### Project history

John Hodges' jsonpp repository began with a 2011-08-22 commit titled "a working json pretty printer". The README says jsonpp was created after a friend working against large JSON APIs became tired of slow tooling, and that it later proved useful for parsing JSON log files.

The project stayed narrowly focused on pretty printing. Its README documents a file and pipe workflow, an option for formatting previously pretty-printed JSON, and an environment variable named `JSONPP_INDENT` for changing indentation.

### Adoption history

jsonpp's adoption is modest but durable enough for a Homebrew formula and tagged GitHub releases. The README documents installation through `go get`, Homebrew, or copying a binary into `PATH`.

### How it is used

The canonical examples are piping a web service response through `jsonpp`, formatting a JSON file from disk, and using `-s` when the input stream is one already formatted JSON object.

### Why package nerds care

jsonpp is package-nerd useful because it is a tiny Go binary that does one common terminal job with minimal runtime baggage. It belongs to the family of formatter commands people install because they want fast readable output, not a full JSON processing language.

### Timeline

- 2011-08-22: First public GitHub commit.
- 2013-07-03: v1.2.0 release published.
- 2016-10-13: v1.3.0 release published.

### Related projects

- jsonpp sits near jsonlint, jq, Python's `json.tool`, and other command-line JSON formatting tools, but keeps its own role limited to pretty printing.

### Sources

- <https://api.github.com/repos/jmhodges/jsonpp>
- <https://formulae.brew.sh/formula/jsonpp>
- <https://github.com/jmhodges/jsonpp>
- <https://github.com/jmhodges/jsonpp/commit/1564f8fd3a29fca50e735e78aa3298ce1bc9a972>
- <https://github.com/jmhodges/jsonpp/releases/tag/1.3.0>
- <https://github.com/jmhodges/jsonpp/releases/tag/v1.2.0>


## Security Notes

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## Sources

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