# Install jsonnet with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Domain specific configuration language for defining JSON data. Version 0.22.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:jsonnet
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jsonnet
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jsonnet
```

  Evidence: MacPorts ports tree: devel/jsonnet/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add jsonnet
```

  Evidence: Alpine Linux edge package indexes: jsonnet from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install jsonnet
```

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

- dnf (92%):

```sh
sudo dnf install jsonnet
```

  Evidence: Fedora Rawhide package metadata: jsonnet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#jsonnet
```

  Evidence: nixpkgs package indexes: pkgs/by-name/js/jsonnet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install golang-github-google-jsonnet
```

  Evidence: openSUSE Tumbleweed package metadata: golang-github-google-jsonnet from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:jsonnet
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jsonnet>
- **Version:** 0.22.0
- **Source summary:** Domain specific configuration language for defining JSON data
- **Homepage:** <https://jsonnet.org/>
- **Repository:** <https://github.com/google/jsonnet>
- **Upstream docs:** <https://jsonnet.org/learning>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/google/jsonnet/archive/refs/tags/v0.22.0.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- jsonnet (cli)
- jsonnetfmt (cli)
- jsonnet (alias)
- jsonnetfmt (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.22.0
- Local data: ok
- Upstream repository: https://github.com/google/jsonnet
- Upstream latest detected: v0.22.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Jsonnet is a data templating language for generating JSON, YAML, INI, and similar configuration data. It is one of the better-known examples of a configuration DSL that deliberately extends JSON while adding functions, object-oriented composition, imports, a standard library, formatting, and a formal specification.

### Project history

The Jsonnet website says the language began in early 2014 as a Google 20 percent project and launched on August 6. The same page explains that its design was influenced by internal Google configuration languages and experience configuring large systems, while also stating that Jsonnet is not an official Google product.

The public google/jsonnet repository's first commit was made on 2014-08-06. A Google Open Source Blog post on 2015-04-20 described Jsonnet as a simple but rich configuration language that had been quietly released a few months earlier and emphasized that valid JSON is also valid Jsonnet.

The original implementation lives in the google/jsonnet repository. The README points users to the Jsonnet website for documentation and names go-jsonnet, the Go implementation, as a faster option for some use cases.

### Adoption history

Jsonnet's adoption grew around infrastructure and configuration workflows where plain JSON was too repetitive but teams still wanted deterministic data generation. The official site describes use by many companies and projects, and the GitHub README documents packaging through Homebrew, MSYS2, PyPI bindings, and vcpkg.

### How it is used

Users run `jsonnet` on a file or expression to emit JSON, use `jsonnetfmt` to reformat source, and use manifests to generate non-JSON output. The language is side-effect free and designed for modular configuration data rather than general application programming.

### Why package nerds care

Jsonnet matters to package nerds because it created a recognizable ecosystem: interpreters, bindings, formatters, package-manager formulas, and Jsonnet-specific dependency tools such as jsonnet-bundler. It is also a useful reference point in debates about JSON-compatible configuration languages versus general-purpose code generation.

### Timeline

- 2014: Jsonnet began in early 2014 as a Google 20 percent project.
- 2014-08-06: Jsonnet launched and the public GitHub repository received its initial commit.
- 2015-04-20: Google Open Source Blog introduced Jsonnet as a richer language for composing JSON.
- 2026-03-24: v0.22.0 release published.

### Related projects

- Jsonnet is directly related to go-jsonnet, jsonnet-bundler, Jsonnet language bindings, jsonnetfmt, and configuration ecosystems that consume generated JSON or YAML.

### Sources

- <https://api.github.com/repos/google/jsonnet>
- <https://formulae.brew.sh/formula/jsonnet>
- <https://github.com/google/jsonnet>
- <https://github.com/google/jsonnet/commit/55002bc60e4679800958828ff1c2da6de7db5007>
- <https://github.com/google/jsonnet/releases/tag/v0.22.0>
- <https://jsonnet.org/>
- <https://jsonnet.org/articles/design.html>
- <https://jsonnet.org/learning/getting_started.html>
- <https://opensource.googleblog.com/2015/04/jsonnet-more-elegant-language-for.html>


## 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:** jsonnet
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** go-jsonnet
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - jsonnet - 0.20.0+ds-3.1: normalized package name match | Debian stable package indexes: jsonnet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | data templating language | https://github.com/google/jsonnet
- Debian apt - libjsonnet-dev - 0.20.0+ds-3.1: normalized package name match | Debian stable package indexes: libjsonnet-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | data templating language (devel) | https://github.com/google/jsonnet
- Debian apt - libjsonnet0 - 0.20.0+ds-3.1: normalized package name match | Debian stable package indexes: libjsonnet0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | data templating language (lib) | https://github.com/google/jsonnet
- Debian apt - python3-jsonnet - 0.20.0+ds-3.1: normalized package name match | Debian stable package indexes: python3-jsonnet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | data templating language (Python) | https://github.com/google/jsonnet
- Nix - jsonnet: normalized package name match | nixpkgs package indexes: pkgs/by-name/js/jsonnet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - jsonnet - 0.20.0+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: jsonnet from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | data templating language | https://github.com/google/jsonnet
- Ubuntu apt - libjsonnet-dev - 0.20.0+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libjsonnet-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | data templating language (devel) | https://github.com/google/jsonnet
- Ubuntu apt - libjsonnet0 - 0.20.0+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libjsonnet0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | data templating language (lib) | https://github.com/google/jsonnet
- Ubuntu apt - python3-jsonnet - 0.20.0+ds-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-jsonnet from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | data templating language (Python) | https://github.com/google/jsonnet
- apk - jsonnet - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: jsonnet from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The data templating language | https://jsonnet.org/
- apk - jsonnet-dev - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: jsonnet-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The data templating language (development files) | https://jsonnet.org/
- apk - jsonnet-libs - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: jsonnet-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | The data templating language (libraries) | https://jsonnet.org/
- dnf - jsonnet - 0.22.0-13.fc45: normalized package name match | Fedora Rawhide package metadata: jsonnet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A data templating language based on JSON | https://github.com/google/jsonnet
- dnf - jsonnet-devel - 0.22.0-13.fc45: normalized package name match | Fedora Rawhide package metadata: jsonnet-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development Headers for jsonnet | https://github.com/google/jsonnet
- dnf - jsonnet-doc - 0.22.0-13.fc45: normalized package name match | Fedora Rawhide package metadata: jsonnet-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Documentation for jsonnet | https://github.com/google/jsonnet
- dnf - jsonnet-libs - 0.22.0-13.fc45: normalized package name match | Fedora Rawhide package metadata: jsonnet-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Shared Libraries for jsonnet | https://github.com/google/jsonnet


## Related links

- [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.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go-jsonnet](https://www.automicvault.com/pkg/brew/go-jsonnet/) - Shares the same upstream homepage.
- [jrsonnet](https://www.automicvault.com/pkg/brew/jrsonnet/) - Shares av.db curated category or tags: cli, configuration, configuration-language, developer-tools, json.
- [pkl](https://www.automicvault.com/pkg/brew/pkl/) - Shares av.db curated category or tags: cli, configuration, configuration-language, developer-tools.
- [config-file-validator](https://www.automicvault.com/pkg/brew/config-file-validator/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [dhall-json](https://www.automicvault.com/pkg/brew/dhall-json/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [dyff](https://www.automicvault.com/pkg/brew/dyff/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [hjson](https://www.automicvault.com/pkg/brew/hjson/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [json2hcl](https://www.automicvault.com/pkg/brew/json2hcl/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [jsonnet-bundler](https://www.automicvault.com/pkg/brew/jsonnet-bundler/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, jsonnet.

## Combined YAML source

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