Skip to main content
Back to trending

ripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore

  • cli
  • command-line
  • command-line-tool
  • gitignore
  • grep
  • recursively-search
  • regex
  • ripgrep
  • rust
  • search
View on GitHub
Stars
70,537
Forks
3,491
+ today
+2
Created
10y

Ranking data as of December 2, 2026 (UTC).

Star History

Today, hour by hour

70,537 stars
70,53570,537

Overview

ripgrep recursively searches directories for a regex pattern while respecting your gitignore It ranks #3966 on GitTiger, gaining +2 stars on December 2, 2026 (UTC).

The project is written in Rust and has 3,491 forks. It was created 10y ago.

AI-generated summary of the repository README — may contain errors.

Overview

ripgrep is a line-oriented search tool written in Rust that walks a directory tree looking for a regular-expression pattern. Its distinguishing behaviour, as stated in the description, is that it honours your gitignore rules while doing so, which makes it practical inside large source trees.

What the evidence covers

- Recursive searching of a directory with a regex pattern as the query. - Respect for gitignore files during traversal, the feature the project is best known for. - A configuration-file mechanism, passthru mode and support for searching compressed files are named in the README preview as recently added capabilities that older feature comparisons do not yet list. - The README includes a link to an independent feature table by the author of ack, comparing ack, ag, git-grep, GNU grep and ripgrep.

Scope of this profile

The supplied evidence does not state benchmarks, installation methods or platform support, so this profile does not either. ripgrep is a mature, widely used project; the README is the place to check flags, configuration keys and packaging options.

Licence

Released under the Unlicense according to the repository metadata, which places it in the public domain.

Installation
git clone https://github.com/BurntSushi/ripgrep.git
cd ripgrep
# see README for setup

Frequently Asked Questions

How is ripgrep different from GNU grep?

The description highlights recursive searching that respects gitignore files. The README points to an external comparison table covering ack, ag, git-grep, GNU grep and ripgrep for a feature-level view; the metadata here does not claim a performance figure.

Does ripgrep search compressed files?

Yes, support for searching compressed files is mentioned in the README preview among capabilities added since the older comparison table was written.

What licence does ripgrep use?

The Unlicense, per the repository metadata.