yq logo

yq Mike Farah

Use this command to install yq:
winget install --id=MikeFarah.yq -e

yq is a lightweight and portable command-line YAML, JSON and XML processor. yq uses jq like syntax but works with yaml files as well as json, xml, properties, csv and tsv.

yq is a lightweight and portable command-line tool designed to process YAML, JSON, XML, CSV, TSV, properties, and other data formats efficiently. Built with jq-like syntax, yq provides a flexible and intuitive way to query, manipulate, and transform structured data.

Key Features:

  • Supports YAML, JSON, XML, CSV, TSV, properties, and other formats.
  • Leverages jq-like syntax for powerful data processing capabilities.
  • Offers in-place updates to modify files directly without external dependencies.
  • Provides robust operations such as filtering, mapping, reducing, grouping, and merging.
  • Maintains comment positions and whitespace in YAML files wherever possible.

Audience & Benefit: Ideal for developers, DevOps engineers, and anyone working with structured data. yq simplifies tasks like extracting values, updating configurations, merging files, and automating workflows by providing a consistent command-line interface across various file formats. Its portability and ease of use make it an essential tool for streamlining data processing tasks.

yq can be installed via winget, ensuring quick and hassle-free setup across supported platforms.

Versions
4.45.1
4.44.6
4.44.5
4.44.3
4.44.2
4.44.1
4.43.1
4.40.5
4.35.2
4.35.1
License