YQ(1) YQ(1) (NAME) yq - YAML jq YAML (SYNOPSIS) yq [] < jq> [ ...] (DESCRIPTION) : yq [] < jq> [ ...] [--indentless-lists] [--explicit-start] [--explicit-end] [--in-place] [--version] [jq_filter] [files ...] yq: YAML - jq YAML yq YAML JSON jq . . (positional arguments) jq_filter jq . files YAML ( ). (options) -h, --help . --yaml-output, --yml-output, -y JSON jq YAML . --yaml-roundtrip, --yml-roundtrip, -Y JSON jq YAML . YAML JSON. jq . --yaml-output-grammar-version, --yml-out-ver {1.1,1.2} --yaml-output ( 1.1 1.2 ). 1.2 'on' 'no' . --width, -w WIDTH --yaml-output (wrap width) . --indentless-lists, --indentless --yaml-output (sequences) . --explicit-start --yaml-output ("---") . --explicit-end --yaml-output ("...") . --in-place, -i ( - ). --version . jq - JSON [ 1.7] jq [] --args < jq> [...] jq [] --jsonargs < jq> [ JSON...] jq JSON JSON JSON . . jq ( ) . jq(1) ("man jq") . (EXAMPLES) $ echo '{"foo": 0}' | jq . { "foo": 0 } (Command options) -n, --null-input `null` -R, --raw-input JSON -s, --slurp -c, --compact-output (compact) (pretty-printed) -r, --raw-output (escapes) --raw-output0 -r (NUL) -j, --join-output -r (newline) -a, --ascii-output (ASCII) -S, --sort-keys -C, --color-output JSON -M, --monochrome-output --tab (Tab) --indent n n ( ) --unbuffered (flush) --stream (streaming) --stream-errors --stream --seq / application/json-seq -f, --from-file -L --arg name value $name --argjson name value $name JSON --slurpfile name file $name JSON --rawfile name file $name --args --jsonargs JSON -e, --exit-status -V, --version --build-configuration (build configuration) jq -h, --help -- $ARGS.named[] $ARGS.positional[] . (SEE ALSO) jq(1), xq(1), tomlq(1) yq Texinfo . info yq info yq . yq 3.4.3 May 2025 YQ(1)