YAML with yq: Query, Edit, and Transform
High-value yq commands for reading, updating, filtering, converting, and merging YAML in local scripts and CI pipelines.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
## Read and query YAML with yq
## Edit and transform YAML with yq
More in YAML
YAML Config and API Patterns
Application config, OpenAPI, environment settings, and interoperability patterns for YAML across modern tooling.
YAML Validation, Linting, and Troubleshooting
Common syntax errors, duplicate keys, parser checks, and validation workflows for debugging YAML faster.
YAML for DevOps, Kubernetes, and CI
Kubernetes manifests, GitHub Actions, Helm, Compose, and YAML-powered automation workflows with practical validation commands.
YAML Multi-Document Streams
Document separators, multi-resource YAML files, and commands for splitting, filtering, and validating streamed YAML.
YAML Anchors, Aliases, and Merge Keys
Reusable YAML patterns using anchors and aliases, with merge examples and commands for expanding and validating resolved config.
YAML Indentation and Structure
Indentation patterns, nested lists and maps, and practical commands for catching whitespace and structure mistakes.