macOS
brew install yqlocal Homebrew formula metadata
sudo port install yqMacPorts ports tree · textproc/yq/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für yq in AI-Agent-Workflows.
Installation
brew install yqlocal Homebrew formula metadata
sudo port install yqMacPorts ports tree · textproc/yq/Portfile · Quelle: api.github.com
sudo apt install yqDebian stable package indexes · yq · Quelle: deb.debian.org
sudo dnf install yqFedora Rawhide package metadata · yq · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#yqnixpkgs package indexes · yq · Quelle: raw.githubusercontent.com
sudo pacman -S yqArch Linux sync databases · yq · Quelle: geo.mirror.pkgbuild.com
sudo zypper install yqopenSUSE Tumbleweed package metadata · yq · Quelle: download.opensuse.org
choco install yqChocolatey community package catalog · yq · Quelle: community.chocolatey.org
scoop install main/yqScoop official bucket manifest trees · bucket/yq.json · Quelle: api.github.com
winget install --id MikeFarah.yq -eWindows Package Manager source index · MikeFarah.yq · Quelle: cdn.winget.microsoft.com
Überblick
Process YAML, JSON, XML, CSV and properties documents from the CLI
Verlauf
Mike Farah’s yq is a portable Go command-line processor for YAML and neighboring structured formats, best understood as the “jq-shaped” tool package users reach for when sed, awk, or ad hoc Python would be too brittle for configuration files.
The mikefarah/yq repository was created in 2015 and grew out of a very practical niche: manipulating YAML from shell scripts. Older v3 documentation described the goal as being the jq or sed of YAML files; the modern README broadens that into a lightweight processor for YAML, JSON, INI, XML, TOML, properties, CSV, and TSV while retaining jq-like expression syntax.
The v4 line became the modern identity of the project: a dependency-free Go binary, installable through package managers or containers, with a richer expression language for reading, updating, merging, converting, and editing files in place. That v3-to-v4 split is historically important because many examples, packages, and user questions distinguish Mike Farah’s yq from both older yq syntax and the separate kislyuk/yq wrapper around jq.
Adoption followed the rise of YAML-heavy infrastructure work: Kubernetes manifests, CI configuration, GitHub Actions workflows, Helm and Kustomize adjunct scripts, and release automation. The project documents Homebrew, snap, Docker/Podman, GitHub Action, and direct binary installation, and its repository badges track Docker pulls and GitHub release downloads.
The tool also became popular enough to create name-collision folklore: multiple unrelated tools are called yq, and users often have to verify whether their package manager installed Mike Farah’s Go implementation, kislyuk’s Python/jq wrapper, or an older major version.
Typical usage is one-liner data surgery: read nested fields, update YAML in place, inject environment variables, merge files, convert YAML to JSON or XML to YAML, and compose expressions in CI scripts. Package users value that yq ships as a static-style Go binary, so it works well in minimal containers and build agents.
In package-nerd workflows, yq often sits next to jq: jq remains the canonical JSON processor, while yq handles the messy real-world files that package manifests, deployment descriptors, and CI systems store in YAML or adjacent formats.
yq is one of the canonical examples of a small CLI becoming infrastructure glue. It saves package maintainers from writing custom parsers for YAML edits, and its availability across Homebrew, Linux distributions, Windows package managers, containers, and GitHub Actions makes it a dependable assumption in cross-platform scripts.
Its significance is also social: when someone says “install yq,” package nerds immediately ask which yq and which major version. That ambiguity is part of the package’s history.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
yq | cli | globales Executable |
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.
https://github.com/mikefarah/yq
Installationsmetadaten
| Paketschlüssel | brew:yq |
|---|---|
| Version | 4.53.3 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/yq |
| Homepage | https://github.com/mikefarah/yq |
| Repository | https://github.com/mikefarah/yq |
| Upstream-Dokumentation | https://github.com/mikefarah/yq#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/mikefarah/yq/archive/refs/tags/v4.53.3.tar.gz |
| Zuletzt aktualisiert | 2026-06-07T02:03:08Z |
| Pulse | updated |
| Build-Abhängigkeiten | go, pandoc |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | yq |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
yq 3.4.3-2
Command-line YAML processor - jq wrapper for YAML documents
sudo apt install yqyq
nix profile install nixpkgs#yqyq 3.1.0-3
Command-line YAML processor - jq wrapper for YAML documents
sudo apt install yqyq 4.47.1-5.fc44
Yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor
https://github.com/mikefarah/yq
sudo dnf install yqyq 3.4.3-3
Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents
sudo pacman -S yqyq 4.53.2-2.1
A portable command-line YAML processor
https://github.com/mikefarah/yq
sudo zypper install yqyq-bash-completion 4.53.2-2.1
Bash Completion for yq
https://github.com/mikefarah/yq
sudo zypper install yq-bash-completionyq-fish-completion 4.53.2-2.1
Fish Completion for yq
https://github.com/mikefarah/yq
sudo zypper install yq-fish-completionyq-zsh-completion 4.53.2-2.1
Zsh Completion for yq
https://github.com/mikefarah/yq
sudo zypper install yq-zsh-completionyq
sudo port install yqyq
choco install yqmain/yq
scoop install main/yqMikeFarah.yq
winget install --id MikeFarah.yq -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.