Files
vim-ale/yq
AJ ONeal b08e678a83 fix(ollama,yq): improve archive handling and man page location
ollama: handle all 3 distribution eras (linux tar.zst, macOS .app
bundle, bare binary), fix test -f to test -d for lib/, extract GPU
libs from .app bundle.

yq: install man page to versioned $pkg_src_dir instead of global
~/.local/share/man/man1/.
2026-03-10 09:18:17 -06:00
..
2026-03-08 19:38:49 -06:00
2023-11-02 17:28:49 -06:00

title, homepage, tagline
title homepage tagline
yq https://github.com/mikefarah/yq yq: a lightweight and portable command-line YAML processor

To update or switch versions, run webi yq@stable or webi yq@beta, etc.

Files

These are the files / directories that are created and/or modified with this install:

~/.config/envman/PATH.env
~/.local/bin/yq
~/.local/share/man/man1/yq.1

Cheat Sheet

yq is like jq, meaning that it's like sed for YAML data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.

Usage: yq e '<selector>' <filepath>

Works with YAML:

echo 'name: John' | yq  e '.name' -

Works with JSON:

echo '[ { "name": "John" }, { "name": "Jane" } ]' | yq e '.[].name' -

See https://mikefarah.gitbook.io/yq/ for the docs.