# Install jsonlint with Homebrew, apt

JSON parser and validator with a CLI. Version 1.6.3 via Homebrew; verified from local package data. Also installable with debian: sudo apt install jsonlint.

## Install

```sh
sudo av install brew:jsonlint
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jsonlint
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install jsonlint
```

  Evidence: Debian stable package indexes: jsonlint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:jsonlint
- **Package manager:** Homebrew
- **Version:** 1.6.3
- **Source summary:** JSON parser and validator with a CLI
- **Homepage:** <https://github.com/zaach/jsonlint>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- jsonlint (alias)

## Install behavior

- Bottle: not available

## Freshness

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

JSONLint is a JavaScript JSON parser and validator distributed as a small command-line tool. In package-manager culture it sits in the older generation of single-purpose JSON CLI utilities: install it, pipe a file or stdin through it, and get either formatted JSON or a syntax error.

### Project history

Zachary Carter's jsonlint repository began on GitHub on 2010-03-13 with a first commit titled "First". The README describes the project as a pure JavaScript version of the jsonlint.com service, with a command-line interface installable through npm and a CommonJS module interface.

The project kept a compact scope: parsing, validating, optional pretty printing, key sorting, in-place writes, and optional JSON Schema validation from the CLI. The README's MIT license notice names Zachary Carter and 2012, matching the era when Node.js command-line utilities were becoming common Homebrew and npm package-manager citizens.

### Adoption history

JSONLint's durable adoption came from being easy to package and easy to compose in Unix-style workflows. The Homebrew formula kept the `jsonlint` executable available to macOS users, while the README continued to document npm global installation for Node users.

### How it is used

Typical usage is `jsonlint file.json` or piping JSON to stdin. Valid input is pretty-printed, invalid input reports a syntax error, and options cover indentation, compact error display, quiet validation, in-place overwrite, sorted keys, and schema validation.

### Why package nerds care

JSONLint matters as a package-nerd artifact because it shows the small-tool phase of JSON tooling before larger Swiss-army commands dominated. It is not a data query language; it is the boring validator that fits cleanly in editor hooks, CI checks, and shell pipelines.

### Timeline

- 2010-03-13: First public GitHub commit.
- 2012: README license notice names Zachary Carter and the MIT license.
- 2022-07-12: GitHub repository metadata records a push on this date.

### Related projects

- The README explicitly connects the package to jsonlint.com and to editor integrations such as Syntastic, sourcebeautify, and ALE. It occupies the validation and formatting niche beside broader JSON tools such as jq.

### Sources

- <https://api.github.com/repos/zaach/jsonlint>
- <https://formulae.brew.sh/formula/jsonlint>
- <https://github.com/zaach/jsonlint>
- <https://github.com/zaach/jsonlint/commit/1740851f1fc2edc5c626241e8a737523bcabf8d8>


## Security Notes

narrow executable package without higher-risk signals.

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

## Other Package-Manager Records

- Debian apt - jsonlint - 1.11.0-2: normalized package name match | Debian stable package indexes: jsonlint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | validating parser of JSON data structures | https://github.com/Seldaek/jsonlint
- Ubuntu apt - jsonlint - 1.10.2-1: normalized package name match | Ubuntu 24.04 LTS package indexes: jsonlint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | validating parser of JSON data structures | https://github.com/Seldaek/jsonlint


## Combined YAML source

View the package source record on GitHub. [combined/jsonlint.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jsonlint.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
