Skip to content

ripgrep

Version 2026.144.1443
Repo superproject

Fast recursive text search (rg) Installs the ripgrep package, which provides the rg binary at /usr/bin/rg — a fast recursive grep that honours .gitignore by default. Verifiable end to end: the binary lands at a fixed path, rg --version reports a parseable version on stdout, and rg returns the matching line (exit 0) for a present pattern and exit 1 for an absent one.

Installed on every distro:

  • ripgrep

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
check the rg binary is installed at /usr/bin/rg
check rg reports a parseable ripgrep version on stdout
check rg prints the matching line for a pattern present in piped input
check rg exits 1 (no match) when the pattern is absent, never matching spuriously
check package=ripgrep
check command=printf ‘needle-in-haystack\nother-line\n’ | rg needle