Hotfix release available: 2026-07-14c "Mort".
upgrade now! [57.3] (what's this?)
Hotfix release available: 2026-07-14b "Mort".
upgrade now! [57.2] (what's this?)
Hotfix release available: 2026-07-14a "Mort".
upgrade now! [57.1] (what's this?)
New release available: 2026-07-14 "Mort".
upgrade now! [57] (what's this?)
terminal:tools:ripgrep
Table of Contents
ripgrep (rg)
Fast recursive search. Respects .gitignore, skips binary files, highlights matches. Written in Rust.
rg pattern # search current directory recursively rg pattern src/ # search specific directory rg -l pattern # list matching files only rg -n pattern # show line numbers rg -i pattern # case-insensitive rg -t py pattern # search only .py files rg -g '!*.min.js' pattern # exclude glob pattern rg --hidden pattern # include hidden files
vs grep
- Faster on large codebases
- Respects
.gitignoreby default - Coloured, formatted output
- Searches compressed files with
-z
Install
sudo apt install ripgrep
See Also
terminal/tools/ripgrep.txt · Last modified: by 127.0.0.1
