yq is a command-line tool for reading and transforming YAML, XML and TOML files from a terminal or a shell script. It wraps jq, so people who already know jq's filter syntax can apply the same queries to structured configuration and data files in those formats.
The source code is public under the Apache-2.0 license and the tool runs on the command line. Its appeal is that it reuses jq rather than introducing a new query language, which keeps the learning cost low for anyone already working with JSON tools. A project website is listed alongside the repository.
Alternatives to yq
Products that do a similar job in Developer Tools.
yq
command-line processor for YAML, JSON, XML, CSV and TOML files
fq
jq-style queries and decoding for binary file formats
jc
Converts shell command output and strings into JSON, YAML or dictionaries
dasel
command-line tool for querying and editing JSON, YAML, TOML and XML
Windows Terminal
Command-line terminal app and console host for Windows
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
ripgrep
command-line search tool that finds regex matches across directory trees