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