Command-line tool
ripgrep
brew/ripgrep
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Search tool like grep and The Silver Searcher rust cli search ripgrep command-line grep regex command-line-tool gitignore recursively-search
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id BurntSushi.ripgrep.GNU -e scoop install ripgrep cargo install ripgrep
macOS
brew install ripgrep cargo install ripgrep
Linux
brew install ripgrep cargo install ripgrep
Recursively search current directory for a pattern (`regex`)
rg pattern
Recursively search for a pattern in a file or directory
rg pattern path/to/file_or_directory
Search for a literal string pattern
rg -F -- string
Related command-line tools
- the_silver_searcher
Code-search similar to ack developer-tools cli search command-prompt terminal shell console find command-line grep… - atomgit-cli
Command-line interface for AtomGit developer-tools cli git atomgit - ast-grep
Code searching, linting, rewriting rust typescript search command-line static-analysis grep tree-sitter… - aki-mline
match line, regex text filter like a grep of linux command. - perg
A fast, feature-rich text search tool similar to grep, written in Rust - repgrep
An interactive replacer for ripgrep that makes it easy to find and replace across files on the command line. - jsongrep
Query tool for JSON, YAML, TOML, and other structured formats rust cli search json yaml command-line grep… - grep
GNU grep, egrep and fgrep
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents