# Install go-jsonnet with Homebrew, apk, MacPorts, Nix, scoop

Go implementation of configuration language for defining JSON data. Version 0.22.0 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install go-jsonnet
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install go-jsonnet
```

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

### Linux

- apk (92%):

```sh
sudo apk add go-jsonnet
```

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

- Nix (92%):

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

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

### Windows

- Scoop (92%):

```sh
scoop install main/go-jsonnet
```

  Evidence: Scoop official bucket manifest trees: bucket/go-jsonnet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

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

## Executables

- jsonnet-deps (cli)
- jsonnet-lint (cli)
- jsonnet-deps (alias)
- jsonnet-lint (alias)

## Build dependencies

- go

## 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/go-jsonnet
- Upstream latest detected: v0.22.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

go-jsonnet is the Go implementation of Jsonnet, a configuration language for producing JSON, YAML, and other structured data.

### Project history

Jsonnet began at Google in early 2014 as a 20 percent project and was launched on August 6 of that year. The go-jsonnet repository followed in 2016 as a pure-Go implementation; its README describes it as feature complete and production ready, with command-line tools and embeddable Go library support.

### Adoption history

Jsonnet gained adoption in configuration-heavy infrastructure work because it lets users compute, compose, and reuse structured data. The original C++ Jsonnet repository points users toward go-jsonnet as a newer implementation that can be much faster in some cases and is recommended in preference to the C++ version.

### How it is used

Practitioners use the jsonnet command to evaluate .jsonnet files into JSON, YAML, or other outputs, and use jsonnetfmt, jsonnet-lint, and jsonnet-deps around repository review and build pipelines. Go programs can embed the VM directly to evaluate Jsonnet snippets or files inside larger tools.

### Why package nerds care

For package users, go-jsonnet matters because it turns a configuration language into a small, portable Go toolchain with CLI binaries, pre-commit hooks, library APIs, and package-manager installs.

### Timeline

- 2014: Jsonnet began as a Google 20 percent project and launched on August 6.
- 2016: go-jsonnet public GitHub repository created.
- 2020: v0.17.0 release series available from the Go implementation.
- 2026: v0.22.0 release published with Go and Python packaging changes.

### Related projects

- google/jsonnet is the original C++ implementation. jsonnet.org hosts the language reference and standard-library documentation used by both implementations.

### Sources

- <https://github.com/google/go-jsonnet>
- <https://github.com/google/go-jsonnet/releases>
- <https://github.com/google/jsonnet>
- <https://jsonnet.org/>


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** go-jsonnet
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** 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

- Nix - go-jsonnet: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/go-jsonnet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - go-jsonnet - 0.21.0-r10: normalized package name match | Alpine Linux edge package indexes: go-jsonnet from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Implementation of Jsonnet in Go | https://jsonnet.org
- MacPorts - go-jsonnet: normalized package name match | MacPorts ports tree: devel/go-jsonnet/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/go-jsonnet: normalized package name match | Scoop official bucket manifest trees: bucket/go-jsonnet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 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](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [jsonnet](https://www.automicvault.com/pkg/brew/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.
- [gojq](https://www.automicvault.com/pkg/brew/gojq/) - Shares av.db curated category or tags: cli, developer-tools, go, json.
- [hjson](https://www.automicvault.com/pkg/brew/hjson/) - Shares av.db curated category or tags: cli, configuration, developer-tools, json.
- [go-bindata](https://www.automicvault.com/pkg/brew/go-bindata/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, go.

## Combined YAML source

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