# 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
- **Package manager page:** <https://formulae.brew.sh/formula/jsonlint>
- **Version:** 1.6.3
- **Source summary:** JSON parser and validator with a CLI
- **Homepage:** <https://github.com/zaach/jsonlint>
- **Repository:** <https://github.com/zaach/jsonlint>
- **Upstream docs:** <https://github.com/zaach/jsonlint#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/jsonlint/-/jsonlint-1.6.3.tgz>
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- jsonlint (cli)
- jsonlint (alias)

## Dependencies

- node

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 1.6.3
- Local data: ok
- Upstream repository: https://github.com/zaach/jsonlint
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jsonlint
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [clang-format](https://www.automicvault.com/pkg/brew/clang-format/) - Shares av.db curated category or tags: cli, developer-tools, formatter, json.
- [dockerfmt](https://www.automicvault.com/pkg/brew/dockerfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, parser.
- [fracturedjson](https://www.automicvault.com/pkg/brew/fracturedjson/) - Shares av.db curated category or tags: cli, developer-tools, formatter, json.
- [gdtoolkit](https://www.automicvault.com/pkg/brew/gdtoolkit/) - Shares av.db curated category or tags: cli, developer-tools, formatter, parser.
- [hq](https://www.automicvault.com/pkg/brew/hq/) - Shares av.db curated category or tags: cli, developer-tools, json, parser.
- [jqfmt](https://www.automicvault.com/pkg/brew/jqfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, json.
- [jshon](https://www.automicvault.com/pkg/brew/jshon/) - Shares av.db curated category or tags: cli, developer-tools, json, parser.
- [jsonfmt](https://www.automicvault.com/pkg/brew/jsonfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, json.
- [jsonlint](https://www.automicvault.com/pkg/npm/jsonlint/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, json, jsonlint.
- [prettierd](https://www.automicvault.com/pkg/brew/prettierd/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, formatter, node.
- [vscode-langservers-extracted](https://www.automicvault.com/pkg/brew/vscode-langservers-extracted/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, json, node.
- [jsonlint](https://www.automicvault.com/pkg/npm/jsonlint/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/jsonlint.yml](https://github.com/automic-vault/db/blob/main/combined/jsonlint.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
