yq

Install command:
brew install yq

Process YAML, JSON, XML, CSV and properties documents from the CLI

https://github.com/mikefarah/yq

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/yq.json

Formula code: yq.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 4.52.2
head ⚡️ HEAD

Depends on when building from source:

go 1.25.7 Open source programming language to build simple/reliable/efficient software
pandoc 3.9 Swiss-army knife of markup format conversion

Conflicts with: python-yq

Analytics:

Installs (30 days)
yq 48,517
yq --HEAD 278
Installs on Request (30 days)
yq 48,272
yq --HEAD 278
Build Errors (30 days)
yq 2
Installs (90 days)
yq 144,120
yq --HEAD 896
Installs on Request (90 days)
yq 143,177
yq --HEAD 896
Installs (365 days)
yq 512,105
yq --HEAD 4,247
Installs on Request (365 days)
yq 509,064
yq --HEAD 4,247