Ripgrep Grep Alternative

Discussions recommend ripgrep as a faster, more reliable alternative to traditional grep for code searching, praising its performance, fewer bugs, and sane defaults while comparing it to tools like ag and git grep.

📉 Falling 0.4x Open Source
4,561
Comments
19
Years Active
5
Top Authors
#4271
Topic ID

Activity Over Time

2008
15
2009
48
2010
46
2011
109
2012
200
2013
193
2014
164
2015
171
2016
252
2017
253
2018
288
2019
351
2020
390
2021
396
2022
541
2023
426
2024
321
2025
381
2026
16

Keywords

RE2 CLI greer.fm PATTERN FZF RE PCRE TOOL ycombinator.com GUIDE.md grep gnu search cli awk posix faster git files tool

Sample Comments

djmips Mar 31, 2019 View on HN

see ripgrep mentioned elsewhere in comments.

shmerl Oct 13, 2022 View on HN

ripgrep (rg) is an option. I switched to it for all my grepping needs.

baq Apr 27, 2017 View on HN

try ripgrep, it'll blow your socks off.

bbkane Mar 10, 2025 View on HN

Have you used ripgrep? It's so much nicer for day to day usage! That's why it should come by default. Seriously, try it out, I'm sure you'll love it!

burntsushi Oct 18, 2025 View on HN

ripgrep is a lot faster (which you might only notice on larger haystacks), has many fewer bugs and is maintained.

snth Jun 14, 2021 View on HN

You might be interested in this blog post: https://blog.burntsushi.net/ripgrep/

MayeulC May 20, 2022 View on HN

I tend to use `git grep` for that. Is ripgrep better in some way?

zZorgz Mar 30, 2019 View on HN

I personally use ripgrep instead.

miguelmota Mar 29, 2019 View on HN

+1 for ripgrep. It's crazy fast

whateveracct Jul 5, 2023 View on HN

The marginal efficiency gain over the free ripgrep is so small