ripgrep
Hacker ApprovedThe most recommended of 15 code search tools
A much faster grep replacement for searching codebases, also widely used by AI coding agents; the main caveat is its default skipping of gitignored and hidden files.
A much faster grep replacement for searching codebases, also widely used by AI coding agents; the main caveat is its default skipping of gitignored and hidden files.
140 people gave an opinion
- recommend it
- 122
- criticize it
- 18
- approval share
- 87%
Recommended in 12 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 122 people recommend itNeeds 10 or more, met.
- 6.8 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 12 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Much faster than grep
“it makes searching for text inside the current folder so much easier and it is insanely faster”
Comment from 12 Feb 2026 in “Claude Code Is Being Dumbed Down” “Ripgrep is much faster than grep. But the result is not more concise and tokens are wasted.”
Comment from 18 Jan 2026 in “We Put Claude Code in Rollercoaster Tycoon” “runs async and finishes more or less before my "emacs pinkie" is ready to touch another key”
Comment from 26 Nov 2025 in “Surprisingly, Emacs on Android is pretty good” - Comment from 27 Mar 2026 in “A Faster Alternative to Jq”
- Comment from 13 Aug 2026 in “Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes”
- Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}”
- Comment from 28 Nov 2025 in “So you wanna build a local RAG?”
- Comment from 14 Aug 2026 in “Single log line is 49KB+ (ext4) / 110KB+ (btrfs) of systemd-journald disk writes”
Great search tool for AI agents
“The agents do just fine using ripgrep and calling cargo clippy, dart analyze, ty check, etc. themselves.”
Comment from 27 May 2026 in “Claude Code as a Daily Driver: Claude.md, Skills, Subagents, Plugins, and MCPs” “You can give your agent ripgrep and let it figure out how to find the right results all on its own.”
Comment from 15 Jun 2026 in “AI Has Amnesia. Here's Every System Built to Fix It” “rg is the number one most important part that enables LLMs to be smart agents in a codebase”
Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}” - Comment from 18 May 2026 in “Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep”
- Comment from 27 Aug 2026 in “RAG Is Simpler Than You Think”
- Comment from 11 Jul 2026 in “Stop Telling Me to Ask an LLM”
Easy install, few dependencies
“`cd ripgrep; cargo install --path .` or `cargo install ripgrep` usually just work”
Comment from 14 Jul 2026 in “Linux 0.11 rewritten in idiomatic Rust, boots in QEMU” “From my daily-use utilities, ripgrep and bat seem to have zero dependencies.”
Comment from 23 Dec 2025 in “Fabrice Bellard Releases MicroQuickJS” “You don't need wsl, just install rigrep or the powershell equivalent of find”
Comment from 2 Nov 2025 in “Linux gamers on Steam cross over the 3% mark” Integrates well with editors
“runs async and finishes more or less before my "emacs pinkie" is ready to touch another key”
Comment from 26 Nov 2025 in “Surprisingly, Emacs on Android is pretty good” “I see the future where I'm faster with Neovim and ripgrep than Codex”
Comment from 14 Jul 2026 in “S&P downgrades Oracle to BBB – only one notch above junk level” “ivy/avy/counsel/swiper with ripgrep (thanks burntsushi ) integration”
Comment from 13 May 2026 in “The Emacsification of Software”
What people warn about
Each mark is one comment
Confusing default ignore rules
“in non-git repos, .gitignore rules are silently ignored because rg doesn't pass --no-require-git by default”
Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}” “too many things get ignored and I can't be bothered to figure out how to configure it more cleanly”
Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}” “Using another tool's config by default, making it difficult/impossible to use the dedicated config is the most annoying thing I can imagine.”
Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}” - Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}”
- Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}”
- Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}”
- Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}”
Flags differ from grep
“He keeps using -r with ripgrep thinking that means recursive, when actually that's a replacement instruction”
Comment from 26 Aug 2026 in “Ask HN: What is one simple thing LLMs are insanely bad at?” “Going from ag to ripgrep is not unequivocally better. Sure ripgrep is faster, but its file filtering using -g is so much more cumbersome than -G in ag.”
Comment from 16 Sep 2026 in “Small programming tricks” “incompatible with grep syntax, which makes it useless to most system admins”
Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}” Heavy CPU usage when multithreaded
“ripgrep is inefficient in CPU usage when runs multithreaded and uses about 2x times more CPU time”
Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}” “it happily used all of my cpu cores scanning files, made me unable to do anything for awhile”
Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}” Occasional missing or truncated results
“I experienced a data truncation issue where I ran an rg -zF fixed string search piped into another rg -F.”
Comment from 25 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}” “I still use it but Ive never trusted it fully since then I double check.”
Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}” “rg x would show nothing but grep -r x showed the lines for any x”
Comment from 24 Mar 2026 in “Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}”
Other code search tools people recommend
The four most recommended other code search tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| ripgrepThis page | 122 | 18 | 87% | 12 | — | Approved |
| ast-grep | 21 | 3 | 88% | 9 | — | Approved |
| Semble | 20 | 7 | 74% | 4 | — | Approved |
| Graft (Claude Code hooks) | 13 | 4 | 76% | 4 | — | Approved |
| Lat.md | 11 | 3 | 79% | 3 | — | — |
What people said
40 of the 164 comments that mention it, newest first. Each links to the original comment.
“Going from ag to ripgrep is not unequivocally better. Sure ripgrep is faster, but its file filtering using -g is so much more cumbersome than -G in ag.”
“Whole LLM agent tool call with ripgrep gives 99% use cases right lol”
“He keeps using -r with ripgrep thinking that means recursive, when actually that's a replacement instruction”
“when they do work (which is 99%+ of the time for most users), they are significantly more pleasant to work with.”
“seems to always wind up being faster and better than something like”
“ripgrep will give you basically all the same query features just by being fast”
“That's a really good example. The specific detail is that node_modules isn't something I want results from while I'm grepping around.”
“I see the future where I'm faster with Neovim and ripgrep than Codex”
“`cd ripgrep; cargo install --path .` or `cargo install ripgrep` usually just work”
“manual ripgrep exploration is really effective of getting codebases”
“You can give your agent ripgrep and let it figure out how to find the right results all on its own.”
“The agents do just fine using ripgrep and calling cargo clippy, dart analyze, ty check, etc. themselves.”
“ripgrep helps, so it makes sense to add a line about it into some memory file”
“You should place this energy with something like ripgrep, not a company with huge funding that actually depends on people using their product.”
“ivy/avy/counsel/swiper with ripgrep (thanks burntsushi ) integration”
“ripgrep - or at worst, grep with LC_ALL=C - is much, much faster than any aggregation tool”
“I experienced a data truncation issue where I ran an rg -zF fixed string search piped into another rg -F.”
“in non-git repos, .gitignore rules are silently ignored because rg doesn't pass --no-require-git by default”
“ripgrep is inefficient in CPU usage when runs multithreaded and uses about 2x times more CPU time”
“ripgrep shows that that bundling together stuff sometimes does end up with a user experience that people prefer”
“On a mid-size codebase, I fzf- and rg-ed through the code almost instantly”
“too many things get ignored and I can't be bothered to figure out how to configure it more cleanly”
“Often, the return was caused by a frustration of not having the new tools installed on the random server I sshed to.”
“You could easily just alias a command with the right flag if the capability was opt-in.”
“Using another tool's config by default, making it difficult/impossible to use the dedicated config is the most annoying thing I can imagine.”
“incompatible with grep syntax, which makes it useless to most system admins”
“it happily used all of my cpu cores scanning files, made me unable to do anything for awhile”
“rg using implicit '.ignore' file (a super-generic name instead of a proper tool-specific config)”
“I wouldn't want to use tools that straddle the two, unless they had a nice clear way of picking one or the other.”
“rg x would show nothing but grep -r x showed the lines for any x”
“I still use it but Ive never trusted it fully since then I double check.”
“rg is the number one most important part that enables LLMs to be smart agents in a codebase”
“Really dislike it defaulting to that ignoring files that are ignored by git.”
“it makes searching for text inside the current folder so much easier and it is insanely faster”
“Direct tool calls are faster, more reliable, and the intermediate exploration steps are ephemeral scaffolding anyway.”
“Ripgrep is much faster than grep. But the result is not more concise and tokens are wasted.”
“From my daily-use utilities, ripgrep and bat seem to have zero dependencies.”
“Full text search or even grep/rg are a lot faster and cheaper to work with”
“runs async and finishes more or less before my "emacs pinkie" is ready to touch another key”
“You don't need wsl, just install rigrep or the powershell equivalent of find”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.