yq
« Back to VersTracker
Description:
Process YAML, JSON, XML, CSV and properties documents from the CLI
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: yaml json xml cli devops data-processing
Install: brew install yq
About:
Yq is a lightweight, portable command-line YAML, JSON, and XML processor. It works like jq but for multiple data formats, allowing you to read, write, and manipulate structured data files directly from the terminal. It is ideal for parsing API responses, configuration files, and logs without needing heavy scripting.
Key Features:
  • Multi-format support (YAML, JSON, XML, CSV, Properties)
  • jq-like syntax for querying and editing
  • Zero-dependency binary
  • Cross-platform (Linux, macOS, Windows)
Use Cases:
  • Extracting values from Kubernetes manifests or Helm charts
  • Parsing JSON API responses in shell scripts
  • Converting configuration files between YAML and JSON
  • Automating updates to CI/CD pipeline variables
Alternatives:
  • jq – jq is JSON-only and faster for large JSON datasets, but lacks native YAML/XML support
  • dasel – Dasel supports similar formats but uses a different query syntax and Go-based selector expressions
Version History
Detected Version Rev Change Commit
Sep 13, 2025 12:09pm 0 VERSION_BUMP 640af596
Jan 12, 2025 5:20am 0 VERSION_BUMP 83f31e45
Nov 16, 2024 7:04am 0 VERSION_BUMP 533bff2d
Sep 10, 2024 10:03pm 0 VERSION_BUMP aca5e6a7
May 12, 2024 3:47am 0 VERSION_BUMP fd28ee4e
Dec 4, 2023 4:45am 0 VERSION_BUMP 1917484c
Dec 4, 2023 4:03am 0 VERSION_BUMP 61df4639
Nov 23, 2023 4:01am 0 VERSION_BUMP 0c417e19
Nov 19, 2023 6:53pm 0 VERSION_BUMP 7820517e
Sep 26, 2023 9:12am 0 VERSION_BUMP f78f7618
Aug 11, 2023 12:05am 0 VERSION_BUMP b1e38104
Apr 11, 2023 8:05am 0 VERSION_BUMP 9bb7bff3
Mar 20, 2023 4:05am 0 VERSION_BUMP dd8984dd
Mar 20, 2023 4:05am 0 VERSION_BUMP 5496adf4
Mar 18, 2023 6:05am 0 VERSION_BUMP 69400e6f
Mar 18, 2023 6:05am 0 VERSION_BUMP 1569eb83