Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

 

YQ

YQ is a command line tool to read, query, transform, and write YAML

Its like jq for YAML. Written in Go, single binary, fast.

YAML files are popularly used in many tools, example: Kubernetes, Terraform, Github Actions.

YQ helps engineers to parse the YAML file and extract necessary output. The output can also be converted to JSON.

YQ Installation

YQ Documentation & Usage