# jsonnet を Homebrew, apk, apt, dnf, MacPorts, Nix, zypper でインストール

jsonnet のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install jsonnet
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jsonnet
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

- Nix (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:jsonnet
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.22.0
- **ソース概要:** Domain specific configuration language for defining JSON data
- **ホームページ:** <https://jsonnet.org/>
- **リポジトリ:** <https://github.com/google/jsonnet>
- **最終更新:** 2026-07-24T15:58:49+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- jsonnet (エイリアス)
- jsonnetfmt (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.22.0
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- 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-15.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A data templating language based on JSON | https://github.com/google/jsonnet
- dnf - jsonnet-devel - 0.22.0-15.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development Headers for jsonnet | https://github.com/google/jsonnet
- dnf - jsonnet-doc - 0.22.0-15.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for jsonnet | https://github.com/google/jsonnet
- dnf - jsonnet-libs - 0.22.0-15.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Shared Libraries for jsonnet | https://github.com/google/jsonnet


## Combined YAML source

View the package source record on GitHub. [combined/jsonnet.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jsonnet.yml)


## ソース

- 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
