qmetrics.net

yq

Portable CLI processor for YAML, JSON, and XML

TerminalsDesktop/CLI app
yq screenshot

yq is a command-line processor for YAML, JSON, XML, CSV, TOML, HCL, properties, and related formats. It uses jq-like expressions for reading and editing structured files.

Overview

yq is a lightweight Go binary for querying and transforming structured configuration and data files. Its expression style mirrors jq but extends to YAML, INI, XML, properties, CSV, TSV, TOML, and HCL, including Terraform-flavored HCL.

Common tasks include reading paths from files or stdin, in-place updates, merges across multiple inputs, array searches and edits, and format conversion such as JSON to YAML or XML. Multi-document YAML, front matter blocks, comments, tags, anchors, and styling are supported to varying degrees when updating.

Install options include direct binaries for many CPU and OS combinations, Homebrew, snap, Docker or Podman one-shot runs, package managers on Windows and macOS, and importing yqlib from Go code. Shell completion is available for several shells.

It can run in CI via a published GitHub Action. Documentation and recipes cover advanced merges, environment variable substitution, and timezone-aware date operators when timezone data is present in the container image.

Key features

  • jq-like queries across many formats
  • In-place YAML and JSON updates
  • Merge and multi-file reductions
  • Format conversion including Terraform HCL
  • Multi-document YAML and front matter
  • Colorized output and comment preservation
  • Go library package for embedding
  • Docker and Podman execution

Use cases

  • Patching Kubernetes or CI YAML files
  • Shell pipelines over JSON or YAML
  • Converting config between JSON and YAML
  • Terraform and properties file edits

Tags

Similar software

Oh My Zsh

Community zsh configuration framework with plugins

Oh My Zsh manages zsh setup with bundled plugins, themes, and an installer driven by curl, wget, or fetch.

  • Centralized zsh configuration
  • Hundreds of optional plugins
  • Bundled prompt themes
ShellLinux, macOS, Windows, CLIDetails →
★ 191.1k⟳ todayMIT

Terminal

Modern tabbed terminal for Windows command-line users

Windows Terminal is a desktop terminal application for Windows with tabs, theming, and rich text. The same codebase includes the classic console host and shared rendering components.

  • Tabbed terminal profiles
  • Theming and appearance settings
  • Rich text and unicode support
C++WindowsDetails →
★ 105.6k⟳ todayMIT
TerminalsDesktop/CLI app

fzf

General-purpose command-line fuzzy finder

Fzf filters lists interactively in the terminal using fuzzy matching. It ships as a single binary with shell and editor integrations.

  • Fuzzy search with extended query syntax
  • Single-binary portable distribution
  • Bash, Zsh, Fish, and Nushell integrations
GoLinux, macOS, Windows, CLIDetails →
★ 84.8k⟳ 3 days agoMIT
TerminalsDesktop/CLI app

Tabby

Configurable cross-platform terminal with SSH and serial

Tabby is a terminal emulator for local shells, SSH, Telnet, and serial links on Windows, macOS, and Linux. It adds splits, tabs, themes, and integrated connection management.

  • SSH2 connection manager
  • Telnet and serial terminals
  • Nested split panes and tabs
TypeScriptLinux, macOS, WindowsDetails →
★ 75.7k⟳ 2 days agoMIT
TerminalsDesktop/CLI app
Open Source Alternative to:Termius

ripgrep

Recursive regex search respecting gitignore rules

ripgrep (rg) searches directories line by line for regex patterns. It skips ignored, hidden, and binary files by default and runs on Windows, macOS, and Linux.

  • Recursive directory search
  • Gitignore-aware filtering
  • File-type include and exclude
RustLinux, macOS, WindowsDetails →
★ 70.8k⟳ 9 days agoUnlicense · open core
TerminalsDesktop/CLI app

Alacritty

Cross-platform OpenGL terminal emulator

A terminal emulator with sensible defaults and extensive configuration, integrating with other applications instead of duplicating their features. Runs on BSD, Linux, macOS, and Windows.

  • OpenGL rendering
  • Extensive TOML configuration
  • Vi mode navigation
RustLinux, macOS, WindowsDetails →
★ 66.5k⟳ yesterdayApache-2.0
TerminalsDesktop/CLI app