# Install yq

Process YAML, JSON, XML, CSV and properties documents from the CLI. Version 4.53.3 via Homebrew; verified 2026-06-07.

## Install

```sh
sudo av install brew:yq
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install yq
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yq
```

  Evidence: MacPorts ports tree: textproc/yq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install yq
```

  Evidence: Debian stable package indexes: yq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install yq
```

  Evidence: Fedora Rawhide package metadata: yq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#yq
```

  Evidence: nixpkgs package indexes: yq from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S yq
```

  Evidence: Arch Linux sync databases: yq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install yq
```

  Evidence: openSUSE Tumbleweed package metadata: yq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install yq
```

  Evidence: Chocolatey community package catalog: yq from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wsl-ubuntu-1804'

- Scoop (92%):

```sh
scoop install main/yq
```

  Evidence: Scoop official bucket manifest trees: bucket/yq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id MikeFarah.yq -e
```

  Evidence: Windows Package Manager source index: MikeFarah.yq from https://cdn.winget.microsoft.com/cache/source.msix

## Package Facts

- **Package key:** brew:yq
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/yq>
- **Version:** 4.53.3
- **Source summary:** Process YAML, JSON, XML, CSV and properties documents from the CLI
- **Homepage:** <https://github.com/mikefarah/yq>
- **Repository:** <https://github.com/mikefarah/yq>
- **Upstream docs:** <https://github.com/mikefarah/yq#readme>
- **License:** MIT
- **Source archive:** <https://github.com/mikefarah/yq/archive/refs/tags/v4.53.3.tar.gz>
- **Last updated:** 2026-06-07T02:03:08Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- yq (cli)
- yq (alias)

## Build Dependencies

- go
- pandoc

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 4.53.3
- Package-manager updated: 2026-06-07
- Local data status: ok
- Upstream repository: https://github.com/mikefarah/yq
- Upstream latest detected: v4.53.3 (current)

## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** yq
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** python-yq
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - yq - 3.4.3-2: normalized package name match | Debian stable package indexes: yq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command-line YAML processor - jq wrapper for YAML documents | https://github.com/kislyuk/yq
- Nix - yq: normalized package name match | nixpkgs package indexes: yq from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - yq - 3.1.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: yq from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line YAML processor - jq wrapper for YAML documents | https://github.com/kislyuk/yq
- dnf - yq - 4.47.1-5.fc44: normalized package name match | Fedora Rawhide package metadata: yq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor | https://github.com/mikefarah/yq
- pacman - yq - 3.4.3-3: normalized package name match | Arch Linux sync databases: yq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents | https://github.com/kislyuk/yq
- zypper - yq - 4.52.4-1.2: normalized package name match | openSUSE Tumbleweed package metadata: yq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | A portable command-line YAML processor | https://github.com/mikefarah/yq
- zypper - yq-bash-completion - 4.52.4-1.2: normalized package name match | openSUSE Tumbleweed package metadata: yq-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Bash Completion for yq | https://github.com/mikefarah/yq
- zypper - yq-fish-completion - 4.52.4-1.2: normalized package name match | openSUSE Tumbleweed package metadata: yq-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Fish Completion for yq | https://github.com/mikefarah/yq
- zypper - yq-zsh-completion - 4.52.4-1.2: normalized package name match | openSUSE Tumbleweed package metadata: yq-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Zsh Completion for yq | https://github.com/mikefarah/yq
- MacPorts - yq: normalized package name match | MacPorts ports tree: textproc/yq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - yq: normalized package name match | Chocolatey community package catalog: yq from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','wsl-ubuntu-1804'
- Scoop - main/yq: normalized package name match | Scoop official bucket manifest trees: bucket/yq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - MikeFarah.yq: normalized package name match | Windows Package Manager source index: MikeFarah.yq from https://cdn.winget.microsoft.com/cache/source.msix


## Related Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/de/pkg/brew/go/) - Build dependency declared by Homebrew.
- [pandoc](https://www.automicvault.com/de/pkg/brew/pandoc/) - Build dependency declared by Homebrew.
- [python-yq](https://www.automicvault.com/de/pkg/brew/python-yq/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, json, toml.
- [dasel](https://www.automicvault.com/de/pkg/brew/dasel/) - Shares av.db curated category or tags: cli, csv, data-processing, developer-tools, json.
- [gron](https://www.automicvault.com/de/pkg/brew/gron/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, json.
- [jaq](https://www.automicvault.com/de/pkg/brew/jaq/) - Shares av.db curated category or tags: cli, data-processing, developer-tools, json.
- [otree](https://www.automicvault.com/de/pkg/brew/otree/) - Shares av.db curated category or tags: cli, developer-tools, json, toml, xml.
- [yj](https://www.automicvault.com/de/pkg/brew/yj/) - Shares av.db curated category or tags: cli, developer-tools, json, toml, yaml.
- [remarshal](https://www.automicvault.com/de/pkg/brew/remarshal/) - Shares av.db curated category or tags: cli, developer-tools, json, toml, yaml.
- [jsongrep](https://www.automicvault.com/de/pkg/brew/jsongrep/) - Shares av.db curated category or tags: cli, developer-tools, json, toml, yaml.

## Sources

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