YAML Basics
Core YAML syntax, indentation rules, maps, lists, and practical validation commands for day-one and day-100 YAML workflows.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
## Scalars, maps, and sequences
## Validate and inspect YAML from the terminal
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 with yq: Query, Edit, and Transform
High-value yq commands for reading, updating, filtering, converting, and merging YAML in local scripts and CI pipelines.
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.