Automic VaultAutomic Vault

brew

gojq mit Homebrew, apk, apt, dnf, MacPorts, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gojq in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install gojq

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install gojq

MacPorts ports tree · textproc/gojq/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add gojq

Alpine Linux edge package indexes · gojq · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install gojq

Debian stable package indexes · gojq · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install gojq

Fedora Rawhide package metadata · gojq · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#gojq

nixpkgs package indexes · pkgs/by-name/go/gojq/package.nix · Quelle: api.github.com

openSUSE zypperverifiziert · 92%
sudo zypper install gojq

openSUSE Tumbleweed package metadata · gojq · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Pure Go implementation of jq

Befehle und Aliase

  • gojq

Verlauf

Projektgeschichte und Nutzung

gojq is a pure Go implementation of jq, the JSON query language and command-line processor. It can run as a command and can also be embedded as a Go library.

The project is valuable where jq compatibility is wanted without C-library and regex-library build dependencies, or where Go programs want an in-process jq-like query engine.

Projektgeschichte

The repository began in April 2019 with commits implementing the parser, runner, and CLI. The README frames the project as a jq implementation written in Go and documents both command usage and library APIs.

The release stream moved quickly through 0.x versions in 2019 and 2020, with v0.12.0 appearing in December 2020. Subsequent v0.12 patch releases continued the long maintenance line.

Adoptionsgeschichte

gojq's package-manager adoption follows its portability story. The input package facts list apk, Homebrew, Debian, dnf, MacPorts, Nix, Ubuntu, and zypper packages, which fits a small CLI used across many Unix-like systems.

The README advertises installation through Homebrew, mise, Zero Install, go install, and Docker images. That broad install surface reflects both command-line use and reproducible automation contexts.

Wie es verwendet wird

At the command line, gojq reads JSON and applies jq filters such as .foo, .a.b, object construction, updates, and pipelines. The README highlights useful differences including arbitrary-precision integer calculations, YAML input/output options, and detailed error positions.

As a library, callers parse a query with gojq.Parse, run it against values decoded into []any or map[string]any, and iterate over results. Compile options cover module loading, environment loading, variables, custom functions, and input iterators.

Warum Paket-Nerds sich dafür interessieren

gojq is significant because it ports one of the most package-manager-loved Unix data tools into a single Go build. That makes static or cross-platform distribution easier than the C jq stack in many environments.

It also exposes the tension in compatibility implementations: the README documents intentional differences from jq, including map ordering, unsupported flags, regex-engine differences, YAML support, and arbitrary-precision integers.

Zeitleiste

  • 2019: Repository starts with parser, runner, and CLI implementation commits.
  • 2019: v0.0.1 and v0.1.0 tags appear in April and May.
  • 2020: v0.12.0 tag appears in December after rapid 0.x development.
  • 2024: v0.12.17 tag appears in the continuing v0.12 maintenance series.

Related projects

  • jq is the original command and language that gojq implements.
  • The Go standard library's encoding/json is relevant because gojq's library API expects generic decoded JSON-like Go values.
  • mise and Docker are documented installation surfaces alongside package-manager installs.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
gojqcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version0.12.19
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/itchyny/gojq

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoNo cached GitHub release or tag data was available.https://github.com/itchyny/gojqnone Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:gojq
Version0.12.19
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/gojq
Homepagehttps://github.com/itchyny/gojq
Repositoryhttps://github.com/itchyny/gojq
Upstream-Dokumentationhttps://github.com/itchyny/gojq#readme
LizenzMIT
Quellarchivhttps://github.com/itchyny/gojq.git
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

gojq 0.12.13-1

pure Go implementation of jq (program)

https://github.com/itchyny/gojq

sudo apt install gojq
  • Section: golang
  • Architecture: amd64
  • normalized package name match
  • Abgeglichen nach: Gojq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gojq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

golang-github-itchyny-gojq-dev 0.12.13-1

pure Go implementation of jq (library)

https://github.com/itchyny/gojq

sudo apt install golang-github-itchyny-gojq-dev
  • Section: golang
  • Architecture: all
  • Source Package: gojq
  • 5 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gojq
Debian stable package indexes · deb.debian.org · Debian stable package indexes: golang-github-itchyny-gojq-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gojq

nix profile install nixpkgs#gojq
  • normalized package name match
  • Abgeglichen nach: Gojq
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/gojq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gojq 0.12.13-1

pure Go implementation of jq (program)

https://github.com/itchyny/gojq

sudo apt install gojq
  • Section: universe/golang
  • Architecture: amd64
  • normalized package name match
  • Abgeglichen nach: Gojq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gojq from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

golang-github-itchyny-gojq-dev 0.12.13-1

pure Go implementation of jq (library)

https://github.com/itchyny/gojq

sudo apt install golang-github-itchyny-gojq-dev
  • Section: universe/golang
  • Architecture: all
  • Source Package: gojq
  • 5 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gojq
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: golang-github-itchyny-gojq-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gojq 0.12.19-r2

Pure Go implementation of jq

https://github.com/itchyny/gojq

sudo apk add gojq
  • License: MIT
  • Architecture: x86_64
  • Source Package: gojq
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Gojq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gojq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gojq-zsh-completion 0.12.19-r2

Zsh completions for gojq

https://github.com/itchyny/gojq

sudo apk add gojq-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: gojq
  • normalized package name match
  • Abgeglichen nach: Gojq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gojq-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gojq 0.12.19-2.fc45

Pure Go implementation of jq

https://github.com/itchyny/gojq

sudo dnf install gojq
  • License: Apache-2.0 AND BSD-3-Clause AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gojq
  • 2 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Gojq
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gojq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

gojq 0.12.19-1.2

Pure Go implementation of jq

https://github.com/itchyny/gojq

sudo zypper install gojq
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gojq
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Gojq
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gojq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gojq

sudo port install gojq
  • normalized package name match
  • Abgeglichen nach: Gojq
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/gojq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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