ripgrep
Line-oriented tool that recursively searches directories for a regex pattern.
Tested on Linux
Use it
Linux x86_64
download ripgrep 14.1.1 musl binary and install to ~/.local/bin
curl -fsSL -o /tmp/rg.tar.gz https://github.com/BurntSushi/ripgrep/releases/download/14.1.1/ripgrep-14.1.1-x86_64-unknown-linux-musl.tar.gz && mkdir -p ~/.local/bin && tar xzf /tmp/rg.tar.gz -C /tmp && cp /tmp/ripgrep-14.1.1-x86_64-unknown-linux-musl/rg ~/.local/bin/rg && chmod +x ~/.local/bin/rg && ~/.local/bin/rg --version
Check that it works
rg --versionThe output should contain “ripgrep 14.1.1”.
First thing to try
mkdir -p /tmp/rgtest/project/src
cat > /tmp/rgtest/project/src/main.rs <<'EOF'
fn main() {
println!("hello world");
}
HELLO_SUSPEND is here
EOF
cat > /tmp/rgtest/project/README.md <<'EOF'
This is a test file with HELLO_SUSPEND too
EOF
cat > /tmp/rgtest/project/.hidden_file <<'EOF'
HELLO_SUSPEND hidden
EOF
cat > /tmp/rgtest/project/foo.py <<'EOF'
# python file with PATTERN_X
hello = 1
EOF
cat > /tmp/rgtest/project/foo.js <<'EOF'
// js file with PATTERN_X
var x = 1;
EOF
echo "setup done" && ls -R /tmp/rgtest
rg -n -w '[A-Z]+_SUSPEND' /tmp/rgtest/projectWhat it does
- Recursively search directories for regex patternTested
- Respect gitignore and skip hidden filesTested
- Search specific file typesTested
- Search compressed filesTested
How far pickfit got
Linux x86_64
- Installs
- Starts
- 4 of 4 features work
- Works offline
macOS and Windows: the project says it runs there; pickfit hasn’t tried it.
Good for
- search current directory recursively for regex
- limit search to Python files
- search compressed files
An alternative to The Silver Searcher, ack and grep.
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 4 Nov 2026
- Version 14.1.1
Differences the test machine hit
- README: cargo install ripgrep and cargo binstall ripgrep
In the test: no Rust toolchain in box; downloaded static musl tarball from GitHub releases instead - README: curl -LO ...ripgrep_14.1.1-1_amd64.deb && sudo dpkg -i ...
In the test: no sudo; used precompiled tar.gz archive and copied rg to ~/.local/bin