AptLynx

Command-line tool

yq

brew/yq

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Process YAML, JSON, XML, CSV and properties documents from the CLI cli portable json golang yaml bash xml csv devops-tools yaml-processor properties splat

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id MikeFarah.yq -e
scoop install yq

macOS

brew install yq

Linux

brew install yq

Output a YAML file, in pretty-print format (v4+)

yq eval path/to/file.yaml

Output a YAML file, in pretty-print format (v3)

yq read path/to/file.yaml -C

Output the first element in a YAML file that contains only an array (v4+)

yq eval '.[0]' path/to/file.yaml

Browse

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents