ripgrep
Installation
SKILL.md
Identity
| Property | Value |
|---|---|
| Binary | rg |
| Config | ~/.ripgreprc (set via RIPGREP_CONFIG_PATH) |
| Logs | No persistent logs — output to terminal |
| Type | CLI tool |
| Install | apt install ripgrep / dnf install ripgrep |
Key Operations
| Task | Command |
|---|---|
| Basic search | rg 'pattern' /path/ |
| Case-insensitive | rg -i 'pattern' /path/ |
| Fixed string (no regex) | rg -F 'literal.string' /path/ |
| Count matches per file | rg -c 'pattern' /path/ |
| List only filenames with matches | rg -l 'pattern' /path/ |
Related skills