ripgrep Recursive Regex Search Tool
ripgrep (rg) is a line-oriented search tool that recursively searches directories for regex patterns while respecting .gitignore rules. Written in Rust, it outperforms grep, ag, and ack on large codebases by significant margins and supports Unicode by default.
What it does
ripgrep Recursive Regex Search Tool
ripgrep (rg) is a line-oriented search tool that recursively searches directories for regex patterns while respecting .gitignore rules. Written in Rust, it outperforms grep, ag, and ack on large codebases by significant margins and supports Unicode by default.
Installation
Use the upstream install or setup path that matches your environment:
- $ brew install ripgrep
- $ cargo install ripgrep
- $ cargo binstall ripgrep
- $ git clone https://github.com/BurntSushi/ripgrep
Requirements and caveats from upstream:
- For example, rg -tpy foo limits your search to Python files and rg -Tjs
Basic usage or getting-started notes:
-
This example searches the entire
-
The binary name for ripgrep is rg.
-
**[Archives of precompiled binaries for ripgrep are available for Windows,
-
Extracted from upstream docs: https://raw.githubusercontent.com/BurntSushi/ripgrep/HEAD/README.md
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,082 chars)