Before using yq, you also have to install its dependency, jq. See the jq installation instructions for details and directions specific to your platform. On macOS, yq is also available on Homebrew use brew install python-yq.
Features
- Command-line YAML, XML, TOML processor
- jq wrapper for YAML/XML/TOML documents
- yq takes YAML input, converts it to JSON, and pipes it to jq
- Mapping key order is preserved
- yq can be called as a module if needed
- XML support
