Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 jsonnet

查看 jsonnet 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install jsonnet

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install jsonnet

MacPorts ports tree · devel/jsonnet/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add jsonnet

Alpine Linux edge package indexes · jsonnet · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install jsonnet

Debian stable package indexes · jsonnet · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install jsonnet

Fedora Rawhide package metadata · jsonnet · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#jsonnet

nixpkgs package indexes · pkgs/by-name/js/jsonnet/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install golang-github-google-jsonnet

openSUSE Tumbleweed package metadata · golang-github-google-jsonnet · 来源: download.opensuse.org

概览

软件包摘要

Domain specific configuration language for defining JSON data

命令和别名

  • jsonnet
  • jsonnetfmt

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
jsonnetcli全局可执行文件
jsonnetfmtcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.22.0
管理器更新时间2026-07-24
本地数据OK
上游当前
检测到的最新版本v0.22.0

https://github.com/google/jsonnet

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:jsonnet
版本0.22.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/jsonnet
主页https://jsonnet.org/
仓库https://github.com/google/jsonnet
上游文档https://jsonnet.org/learning
许可证Apache-2.0
源码归档https://github.com/google/jsonnet/archive/refs/tags/v0.22.0.tar.gz
最后更新2026-07-24T15:58:49+02:00
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namejsonnet
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • go-jsonnet
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

jsonnet 0.20.0+ds-3.1

data templating language

https://github.com/google/jsonnet

sudo apt install jsonnet
  • Section: devel
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Jsonnet
Debian stable package indexes · deb.debian.org · Debian stable package indexes: jsonnet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libjsonnet-dev 0.20.0+ds-3.1

data templating language (devel)

https://github.com/google/jsonnet

sudo apt install libjsonnet-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: jsonnet
  • 1 依赖
  • normalized package name match
  • 匹配方式:Jsonnet
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libjsonnet-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libjsonnet0 0.20.0+ds-3.1

data templating language (lib)

https://github.com/google/jsonnet

sudo apt install libjsonnet0
  • Section: libs
  • Architecture: amd64
  • Source Package: jsonnet
  • 3 依赖
  • normalized package name match
  • 匹配方式:Jsonnet
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libjsonnet0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-jsonnet 0.20.0+ds-3.1

data templating language (Python)

https://github.com/google/jsonnet

sudo apt install python3-jsonnet
  • Section: python
  • Architecture: amd64
  • Source Package: jsonnet
  • 4 依赖
  • normalized package name match
  • 匹配方式:Jsonnet
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-jsonnet from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

jsonnet

nix profile install nixpkgs#jsonnet
  • normalized package name match
  • 匹配方式:Jsonnet
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/js/jsonnet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

jsonnet 0.20.0+ds-1build2

data templating language

https://github.com/google/jsonnet

sudo apt install jsonnet
  • Section: universe/devel
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Jsonnet
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: jsonnet from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libjsonnet-dev 0.20.0+ds-1build2

data templating language (devel)

https://github.com/google/jsonnet

sudo apt install libjsonnet-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: jsonnet
  • 1 依赖
  • normalized package name match
  • 匹配方式:Jsonnet
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libjsonnet-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libjsonnet0 0.20.0+ds-1build2

data templating language (lib)

https://github.com/google/jsonnet

sudo apt install libjsonnet0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: jsonnet
  • 3 依赖
  • normalized package name match
  • 匹配方式:Jsonnet
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libjsonnet0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-jsonnet 0.20.0+ds-1build2

data templating language (Python)

https://github.com/google/jsonnet

sudo apt install python3-jsonnet
  • Section: universe/python
  • Architecture: amd64
  • Source Package: jsonnet
  • 4 依赖
  • normalized package name match
  • 匹配方式:Jsonnet
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-jsonnet from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

jsonnet 0.21.0-r0

The data templating language

https://jsonnet.org/

sudo apk add jsonnet
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: jsonnet
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Jsonnet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: jsonnet from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

jsonnet-dev 0.21.0-r0

The data templating language (development files)

https://jsonnet.org/

sudo apk add jsonnet-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: jsonnet
  • 1 依赖
  • normalized package name match
  • 匹配方式:Jsonnet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: jsonnet-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

jsonnet-libs 0.21.0-r0

The data templating language (libraries)

https://jsonnet.org/

sudo apk add jsonnet-libs
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: jsonnet
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Jsonnet
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: jsonnet-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

jsonnet 0.22.0-13.fc45

A data templating language based on JSON

https://github.com/google/jsonnet

sudo dnf install jsonnet
  • License: Apache-2.0 AND MIT AND CC0-1.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: jsonnet
  • 6 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Jsonnet
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: jsonnet from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

jsonnet-devel 0.22.0-13.fc45

Development Headers for jsonnet

https://github.com/google/jsonnet

sudo dnf install jsonnet-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: jsonnet
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Jsonnet
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

jsonnet-doc 0.22.0-13.fc45

Documentation for jsonnet

https://github.com/google/jsonnet

sudo dnf install jsonnet-doc
  • License: Apache-2.0 AND CC-BY-2.5
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: jsonnet
  • 1 提供
  • normalized package name match
  • 匹配方式:Jsonnet
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

jsonnet-libs 0.22.0-13.fc45

Shared Libraries for jsonnet

https://github.com/google/jsonnet

sudo dnf install jsonnet-libs
  • License: Apache-2.0 AND MIT AND CC0-1.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: jsonnet
  • 7 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Jsonnet
Fedora Rawhide package metadata · dl.fedoraproject.org · 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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment