A line-oriented search tool that recursively searches directories for a regex pattern while respecting gitignore rules and automatically skipping hidden and binary files, offering a high-performance alternative to grep, ack, and The Silver Searcher.
- 15.2.0
- Published at
- Jul 15, 2026
- 68,828
- Stars
- 49,944,398
- Download
- Synced at
- Oct 4, 2026
Latest release
15.2.0Jul 15, 2026, 04:26 PMDownloads slow? Switch the source anytime above
README
Project Overview
ripgrep (rg) is a line-oriented search tool that recursively searches the current directory for a regex pattern. By default, ripgrep respects gitignore rules and automatically skips hidden files/directories and binary files. It supports Windows, macOS, and Linux with binary downloads available for every release. ripgrep is similar to other popular search tools like The Silver Searcher, ack, and grep. Dual-licensed under MIT or the UNLICENSE.
Key Features
- High-performance recursive regex search
- Respects gitignore rules by default
- Automatically skips hidden and binary files
- Cross-platform support for Windows, macOS, and Linux
- Configuration files and shell completions support
Target Audience
- Developers who need fast codebase searches
- System administrators and DevOps engineers
- Command-line tool enthusiasts
Quick Start
- Download the binary for your platform from the Releases page
- Or install via package manager:
brew install ripgrep(macOS),apt install ripgrep(Linux),winget install ripgrep(Windows) - Basic usage:
rg 'pattern'to recursively search the current directory - See the User Guide for details
Core Advantages
- Extremely fast search — 0.082s on the Linux kernel source tree
- Respects gitignore by default with no extra configuration
- Cross-platform with pre-built binaries
- Dual-licensed (MIT/UNLICENSE) for flexibility
System Requirements
- OS: Windows, macOS, Linux
Release history
Sort