# Install python-yq

Command-line YAML and XML processor that wraps jq. Version 3.4.3 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install python-yq
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xq
```

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

### Linux

- zypper (92%):

```sh
sudo zypper install python311-yq
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#tomlq
```

  Evidence: nixpkgs package indexes: pkgs/by-name/to/tomlq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- apk (92%):

```sh
sudo apk add xq
```

  Evidence: Alpine Linux edge package indexes: xq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install xq
```

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

- dnf (92%):

```sh
sudo dnf install xq
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/xq
```

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

## Package Facts

- **Package key:** brew:python-yq
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/python-yq>
- **Version:** 3.4.3
- **Source summary:** Command-line YAML and XML processor that wraps jq
- **Homepage:** <https://kislyuk.github.io/yq/>
- **Repository:** <https://github.com/kislyuk/yq>
- **Upstream docs:** <https://kislyuk.github.io/yq>
- **License:** Apache-2.0
- **Source archive:** <https://files.pythonhosted.org/packages/38/6a/eb9721ed0929d0f55d167c2222d288b529723afbef0a07ed7aa6cca72380/yq-3.4.3.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- tomlq (cli)
- xq (cli)
- tomlq (alias)
- xq (alias)

## Dependencies

- libyaml
- python@3.14

## macOS Provided Libraries

- jq

## 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: 3.4.3
- Local data status: ok
- Upstream repository: https://kislyuk.github.io/yq/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

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:** python-yq
- **Version Scheme:** 0
- **Revision:** 1
- **Conflicts With:** xq, yq
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- zypper - python311-yq - 3.4.3-1.8: normalized package name match | openSUSE Tumbleweed package metadata: python311-yq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Command-line YAML processor - jq wrapper for YAML documents | https://github.com/kislyuk/yq
- zypper - python313-yq - 3.4.3-1.8: normalized package name match | openSUSE Tumbleweed package metadata: python313-yq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Command-line YAML processor - jq wrapper for YAML documents | https://github.com/kislyuk/yq
- zypper - python314-yq - 3.4.3-1.8: normalized package name match | openSUSE Tumbleweed package metadata: python314-yq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Command-line YAML processor - jq wrapper for YAML documents | https://github.com/kislyuk/yq
- MacPorts - xq: installed executable or alias match | MacPorts ports tree: textproc/xq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - xq - 1.3.0-1+b6: installed executable or alias match | Debian stable package indexes: xq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command line XML and HTML beautifier and content extractor | https://github.com/sibprogrammer/xq
- Nix - tomlq: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/to/tomlq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - xq: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/xq/xq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xq - 1.0.0-2build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: xq from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command line XML and HTML beautifier and content extractor | https://github.com/sibprogrammer/xq
- apk - xq - 1.3.0-r15: installed executable or alias match | Alpine Linux edge package indexes: xq from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line XML and HTML beautifier and content extractor | https://github.com/sibprogrammer/xq
- apk - xq-doc - 1.3.0-r15: installed executable or alias match | Alpine Linux edge package indexes: xq-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line XML and HTML beautifier and content extractor (documentation) | https://github.com/sibprogrammer/xq
- dnf - xq - 1.4.0-2.fc45: installed executable or alias match | Fedora Rawhide package metadata: xq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Command-line XML and HTML beautifier and content extractor | https://github.com/sibprogrammer/xq
- Scoop - main/xq: installed executable or alias match | Scoop official bucket manifest trees: bucket/xq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related Links

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

## 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
