ripgrep is a fast, line-oriented search tool that recursively searches directories for regex patterns while respecting gitignore rules.
ripgrep is a command-line search tool that recursively searches directories for regex patterns. It prioritizes speed and developer productivity by using intelligent defaults like respecting .gitignore files and skipping hidden or binary files. It is designed as a modern alternative to traditional search utilities like grep, ack, and The Silver Searcher.
Developers and system administrators who need fast, recursive text search in codebases and directories, particularly those working with version-controlled projects where ignoring certain files is essential.
Developers choose ripgrep for its exceptional speed, built on Rust's regex engine with SIMD and literal optimizations, combined with sensible defaults that reduce manual filtering. Its full Unicode support without performance penalties and cross-platform availability make it a versatile upgrade over older tools.
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages Rust's regex engine with SIMD and literal optimizations, consistently outperforming grep and similar tools in benchmarks, such as searching the Linux kernel in 0.082s.
Automatically respects .gitignore, .ignore, and .rgignore files, skipping hidden and binary files by default, which streamlines code searches without manual flags.
Provides full Unicode support without performance penalties, unlike traditional grep where UTF-8 searches can be 32x slower, as shown in benchmarks.
Offers static binaries for Windows, macOS, and Linux with easy installation via package managers, ensuring consistent performance across operating systems.
Deviates from standard grep syntax and lacks POSIX compliance, breaking existing scripts and requiring adaptation for interoperability with traditional Unix tools.
Only provides rudimentary text replacement features, making it inferior to dedicated tools like sed or awk for complex editing and transformation tasks.
In edge cases, such as searching for patterns without literal optimizations (e.g., '[A-Za-z]{30}'), performance can drop significantly, as noted in the benchmark cliffs.
ripgrep is an open-source alternative to the following products:
hypergrep is a fast, recursive grep tool written in Rust, designed to search large codebases efficiently with support for regular expressions and parallel execution.
The Silver Searcher (ag) is a code-searching tool similar to ack but faster, designed for quickly finding text patterns in large codebases.
ugrep is an ultra-fast, feature-rich grep utility that supports recursive searching, binary file detection, and advanced pattern matching with PCRE2 regular expressions. It's designed as a faster alternative to traditional grep tools with additional features.
A command-line search tool optimized for programmers, designed as a faster alternative to grep for searching code with syntax highlighting.