Automic VaultAutomic Vault

brew

Installer gojq avec Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gojq pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install gojq

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install gojq

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

Linux

Alpine Linux apkvérifié · 92%
sudo apk add gojq

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

Debian aptvérifié · 92%
sudo apt install gojq

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

Fedora dnfvérifié · 92%
sudo dnf install gojq

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

Nixvérifié · 92%
nix profile install nixpkgs#gojq

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

openSUSE zyppervérifié · 92%
sudo zypper install gojq

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

aperçu

Résumé du paquet

Pure Go implementation of jq

Commandes et alias

  • gojq

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

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

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
gojqcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire0.12.19
gestionnaire mis à jour
données localesOK
amontnot checked
dernière version détectéenon détecté

https://github.com/itchyny/gojq

  • infoNo package-manager update timestamp was available.confiance faible
  • infoNo cached GitHub release or tag data was available.https://github.com/itchyny/gojqconfiance none

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:gojq
Version0.12.19
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/gojq
Page d'accueilhttps://github.com/itchyny/gojq
Dépôthttps://github.com/itchyny/gojq
Docs amonthttps://github.com/itchyny/gojq#readme
LicenceMIT
Archive sourcehttps://github.com/itchyny/gojq.git
Dépendances de compilationgo
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : 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 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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