macOS
brew install jsonnetlocal Homebrew formula metadata
sudo port install jsonnetMacPorts ports tree · devel/jsonnet/Portfile · source: api.github.com
brew
Domain specific configuration language for defining JSON data. Version 0.22.0 via Homebrew; verified from local package data.
install
brew install jsonnetlocal Homebrew formula metadata
sudo port install jsonnetMacPorts ports tree · devel/jsonnet/Portfile · source: api.github.com
sudo apk add jsonnetAlpine Linux edge package indexes · jsonnet · source: dl-cdn.alpinelinux.org
sudo apt install jsonnetDebian stable package indexes · jsonnet · source: deb.debian.org
sudo dnf install jsonnetFedora Rawhide package metadata · jsonnet · source: dl.fedoraproject.org
nix profile install nixpkgs#jsonnetnixpkgs package indexes · pkgs/by-name/js/jsonnet/package.nix · source: api.github.com
sudo zypper install golang-github-google-jsonnetopenSUSE Tumbleweed package metadata · golang-github-google-jsonnet · source: download.opensuse.org
overview
Domain specific configuration language for defining JSON data
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
jsonnet | cli | global executable | |
jsonnetfmt | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/google/jsonnet
install metadata
| Package key | brew:jsonnet |
|---|---|
| Version | 0.22.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/jsonnet |
| 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 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jsonnet |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
jsonnet 0.20.0+ds-3.1
data templating language
https://github.com/google/jsonnet
sudo apt install jsonnetlibjsonnet-dev 0.20.0+ds-3.1
data templating language (devel)
https://github.com/google/jsonnet
sudo apt install libjsonnet-devlibjsonnet0 0.20.0+ds-3.1
data templating language (lib)
https://github.com/google/jsonnet
sudo apt install libjsonnet0python3-jsonnet 0.20.0+ds-3.1
data templating language (Python)
https://github.com/google/jsonnet
sudo apt install python3-jsonnetjsonnet
nix profile install nixpkgs#jsonnetjsonnet 0.20.0+ds-1build2
data templating language
https://github.com/google/jsonnet
sudo apt install jsonnetlibjsonnet-dev 0.20.0+ds-1build2
data templating language (devel)
https://github.com/google/jsonnet
sudo apt install libjsonnet-devlibjsonnet0 0.20.0+ds-1build2
data templating language (lib)
https://github.com/google/jsonnet
sudo apt install libjsonnet0python3-jsonnet 0.20.0+ds-1build2
data templating language (Python)
https://github.com/google/jsonnet
sudo apt install python3-jsonnetjsonnet 0.21.0-r0
The data templating language
sudo apk add jsonnetjsonnet-dev 0.21.0-r0
The data templating language (development files)
sudo apk add jsonnet-devjsonnet-libs 0.21.0-r0
The data templating language (libraries)
sudo apk add jsonnet-libsjsonnet 0.22.0-13.fc45
A data templating language based on JSON
https://github.com/google/jsonnet
sudo dnf install jsonnetjsonnet-devel 0.22.0-13.fc45
Development Headers for jsonnet
https://github.com/google/jsonnet
sudo dnf install jsonnet-develjsonnet-doc 0.22.0-13.fc45
Documentation for jsonnet
https://github.com/google/jsonnet
sudo dnf install jsonnet-docjsonnet-libs 0.22.0-13.fc45
Shared Libraries for jsonnet
https://github.com/google/jsonnet
sudo dnf install jsonnet-libssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.