# 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 2026-07-27. Also installable with nix: nix profile install nixpkgs#go-jsonnet.

## 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
- **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>
- **Last updated:** 2026-07-27T16:47:23+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.22.0
## 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

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


## Combined YAML source

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