{"slug":"yq","name":"yq","category":"cli","categoryName":"CLIs & execution basics","audience":["for-ai"],"primary":"for-ai","openClosed":"open","pricing":"open-source","license":"MIT","maintained":"yes","officialUrl":"https://mikefarah.gitbook.io/yq/","repo":"https://github.com/mikefarah/yq","latestVersion":"v4.54.1","latestRelease":"2026-09-29","stars":16070,"starsAsOf":"2026-10-22","description":"yq is a portable command-line YAML, JSON, XML, CSV, TOML, HCL  and properties processor","descriptionZh":"YAML/JSON/XML 处理","callMethods":["CLI"],"platforms":[],"addedAt":"2026-10-10","updatedAt":"2026-10-22","topics":["bash","cli","csv","devops-tools","golang","hcl","json","portable","properties","splat","terraform","toml","xml","yaml","yaml-processor"],"language":"Go","lastPush":"2026-10-09","formerly":null,"packages":[{"registry":"go","name":"github.com/mikefarah/yq","url":"https://pkg.go.dev/github.com/mikefarah/yq","versionsUrl":"https://pkg.go.dev/github.com/mikefarah/yq?tab=versions","latestVersion":"v2.4.0+incompatible","latestDate":"2019-05-16"},{"registry":"homebrew","name":"yq","url":"https://formulae.brew.sh/formula/yq","versionsUrl":"https://formulae.brew.sh/formula/yq","latestVersion":"4.54.1","latestDate":"2026-10-02"}],"recentVersions":[{"version":"v4.54.1","date":"2026-09-29","prerelease":false,"url":"https://github.com/mikefarah/yq/releases/tag/v4.54.1","source":"GitHub Release"},{"version":"v4","date":"2026-09-29","prerelease":false,"url":"https://github.com/mikefarah/yq/releases/tag/v4","source":"GitHub Release"},{"version":"v4.53.6","date":"2026-08-20","prerelease":false,"url":"https://github.com/mikefarah/yq/releases/tag/v4.53.6","source":"GitHub Release"},{"version":"v4.53.5","date":"2026-08-20","prerelease":false,"url":"https://github.com/mikefarah/yq/releases/tag/v4.53.5","source":"GitHub Release"},{"version":"v4.53.4","date":"2026-08-19","prerelease":false,"url":"https://github.com/mikefarah/yq/releases/tag/v4.53.4","source":"GitHub Release"}],"alternatives":["fq","miller","prettier","zoxide","fx","datasette","moby","fd"],"stacks":[],"scenarios":["connect-tools-to-agents"],"problems":[],"reasonZh":"YAML/JSON 处理，agent 改配置常用","sources":["priority","oss"],"record":"https://aimap.page/api/v1/software/yq.json","pages":{"en":"https://aimap.page/en/software/yq/","zh-hans":"https://aimap.page/zh-hans/software/yq/"}}