macOS
brew install gojqlocal Homebrew formula metadata
sudo port install gojqMacPorts ports tree · textproc/gojq/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gojq pour les workflows d'agents IA.
installation
brew install gojqlocal Homebrew formula metadata
sudo port install gojqMacPorts ports tree · textproc/gojq/Portfile · Source: api.github.com
sudo apk add gojqAlpine Linux edge package indexes · gojq · Source: dl-cdn.alpinelinux.org
sudo apt install gojqDebian stable package indexes · gojq · Source: deb.debian.org
sudo dnf install gojqFedora Rawhide package metadata · gojq · Source: dl.fedoraproject.org
nix profile install nixpkgs#gojqnixpkgs package indexes · pkgs/by-name/go/gojq/package.nix · Source: api.github.com
sudo zypper install gojqopenSUSE Tumbleweed package metadata · gojq · Source: download.opensuse.org
aperçu
Pure Go implementation of jq
historique
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.
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.
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.
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.
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
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
| Commande | Type | Exposition | Note |
|---|---|---|---|
gojq | cli | exécutable global |
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.
https://github.com/itchyny/gojq
métadonnées d'installation
| Clé du paquet | brew:gojq |
|---|---|
| Version | 0.12.19 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/gojq |
| Page d'accueil | https://github.com/itchyny/gojq |
| Dépôt | https://github.com/itchyny/gojq |
| Docs amont | https://github.com/itchyny/gojq#readme |
| Licence | MIT |
| Archive source | https://github.com/itchyny/gojq.git |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gojq |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
gojq 0.12.13-1
pure Go implementation of jq (program)
https://github.com/itchyny/gojq
sudo apt install gojqgolang-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-devgojq
nix profile install nixpkgs#gojqgojq 0.12.13-1
pure Go implementation of jq (program)
https://github.com/itchyny/gojq
sudo apt install gojqgolang-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-devgojq 0.12.19-r2
Pure Go implementation of jq
https://github.com/itchyny/gojq
sudo apk add gojqgojq-zsh-completion 0.12.19-r2
Zsh completions for gojq
https://github.com/itchyny/gojq
sudo apk add gojq-zsh-completiongojq 0.12.19-2.fc45
Pure Go implementation of jq
https://github.com/itchyny/gojq
sudo dnf install gojqgojq 0.12.19-1.2
Pure Go implementation of jq
https://github.com/itchyny/gojq
sudo zypper install gojqgojq
sudo port install gojqpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.