repowiserepowise

Library

burntsushi / ripgrep

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

★ 69,963stars on GitHubRustUnlicense

This connects Repowise to burntsushi/ripgrep's code. It does not install ripgrep.

Repowise maps public repos from their source. Not affiliated with burntsushi. What is Repowise?

github.com/burntsushi/ripgrepIndexed at 4b88e08

What is ripgrep?

ripgrep is a line-oriented search tool for recursively searching directories for a regex pattern. It starts in your current directory, walks the files beneath it, and skips anything your gitignore rules exclude. The code is written in Rust. To install it, run brew install ripgrep and follow the steps below. Its code health is 6.5 out of 10 (Fair), ranked #183 of 4,000+ indexed repos. The last commit to ripgrep was on Jun 5, 2026.

As of commit 4b88e08, indexed Jun 15, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsripgrep.md

Repo facts: type, license, health, rank, contributors
ripgrep facts
TypeLibrary
LicenseUnlicense
Code health6.5 / 10 (Fair)
Health rank#183 of 4,000+ indexed repos
Last commitJun 5, 2026
Bus factor1
Size137 files, 43,231 lines

Install ripgrep

Commands copied from the README

  1. 1Install ripgrep with Homebrew on macOS or Linux.
    brew install ripgrep
  2. 2Install ripgrep with Chocolatey on Windows.
    choco install ripgrep
  3. 3Install ripgrep with cargo, the Rust package manager.
    cargo install ripgrep

Releases on GitHub (latest 15.2.0, Jul 15, 2026)

Full install notes on GitHub

Explore ripgrep

Ask about this code in your agent

This connects Repowise to ripgrep's code. It does not install ripgrep. To install ripgrep, use the install steps.

Useful if you want to change or fork ripgrep: your agent can ask how it is put together and get answers that cite its files.

Ask about ripgrep

Answers come from ripgrep's README and source, with the files they cite. Two free answers a day without an account.

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of burntsushi/ripgrep from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

burntsushi/ripgrep FAQ

What is ripgrep?

ripgrep is a line-oriented search tool that recursively searches directories for a regex pattern while respecting gitignore rules. The binary name is rg.

How does ripgrep work?

ripgrep walks the directory tree from your current directory, skips files that gitignore rules exclude, and searches the remaining files for a regex pattern line by line.

How do I install ripgrep?

ripgrep can be installed with Homebrew using brew install ripgrep, with Chocolatey using choco install ripgrep, or with cargo using cargo install ripgrep. See the install steps

What language is ripgrep written in?

ripgrep is written in Rust, with a few Python and Ruby files also present in the repository.

How is the ripgrep code organized?

ripgrep's Rust code is split into crates under the crates directory, with crates/cli/src/lib.rs, crates/grep/src/lib.rs, crates/matcher/src/lib.rs and crates/pcre2/src/lib.rs among its entry points.

When should I use ripgrep?

Use ripgrep to search a directory tree for a regex pattern while skipping files that gitignore rules exclude. It defaults to recursive search, as other tools specialized to code search do.

What license does ripgrep use?

ripgrep is available under the Unlicense, and it is also dual-licensed under MIT or the UNLICENSE.

Code health

6.5out of 10Fair

On the leaderboards:#11 of 24 Rust repos

Key features of ripgrep

  • Recursively searches your current directory for a regex pattern.
  • Respects your gitignore rules when deciding which files to search.
  • Has first class support on Windows, macOS and Linux.
  • Provides archives of precompiled binaries for Windows, macOS and Linux.
  • Installs under the binary name rg.

How burntsushi/ripgrep works

Execution begins in crates/core/main.rs, one of the five entry points, and the command-line side is handled in crates/cli/src/lib.rs. The crates directory holds 101 of the 137 files and is split into separate crates with their own Cargo.toml manifests. The ignore and globset crates provide the file filtering that respects gitignore rules. crates/grep/src/lib.rs and crates/matcher/src/lib.rs are entry points for the search and matching layers, and crates/pcre2/src/lib.rs is a separate entry point for the pcre2 crate. Dependencies include memchr, aho-corasick, memmap and encoding_rs.

The codebase has 137 files and 4,791 symbols in 7 modules, led by Rust, Python and Ruby. Code health is 6.5 out of 10, rated fair.