🍺 BREW Explorer

← all formulae

ripgrep

brew install ripgrep v15.1.0 Unlicense

Fast recursive regex search tool written in Rust, respects .gitignore by default and skips binaries.

Why you might care

ripgrep is dramatically faster than grep or The Silver Searcher on large codebases, handles gitignore rules automatically, and works identically across Windows/macOS/Linux. It's a popular drop-in replacement for grep in modern dev workflows, with excellent regex support and sensible defaults that skip noise.

Categories

Alternatives

grep The Silver Searcher ack GNU grep
67.1k
30-day installs · #85
213.4k
90-day · #92
557.8k
365-day · #131
65.3k
★ GitHub stars · updated 15d ago

Runtime dependencies

Build dependencies

GitHub topics

cli command-line command-line-tool gitignore grep recursively-search regex ripgrep rust search

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [
    "rg"
  ],
  "alternatives": [
    "grep",
    "The Silver Searcher",
    "ack",
    "GNU grep"
  ],
  "build_dependencies": [
    "asciidoctor",
    "pkgconf",
    "rust"
  ],
  "categories": [
    "search",
    "text-processor"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "pcre2"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Search tool like grep and The Silver Searcher",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:38+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "ripgrep",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-05T11:03:14Z",
  "github_readme_excerpt": "ripgrep (rg)\n------------\nripgrep is a line-oriented search tool that recursively searches the current\ndirectory for a regex pattern. By default, ripgrep will respect gitignore rules\nand automatically skip hidden files/directories and binary files. (To disable\nall automatic filtering by default, use `rg -uuu`.) ripgrep has first class\nsupport on Windows, macOS and Linux, with binary downloads available for [every\nrelease](https://github.com/BurntSushi/ripgrep/releases). ripgrep is similar to\nother popular search tools like The Silver Searcher, ack and grep.\n\n[![Build status](https://github.com/BurntSushi/ripgrep/workflows/ci/badge.svg)](https://github.com/BurntSushi/ripgrep/actions)\n[![Crates.io](https://img.shields.io/crates/v/ripgrep.svg)](https://crates.io/crates/ripgrep)\n[![Packaging status](https://repology.org/badge/tiny-repos/ripgrep.svg)](https://repology.org/project/ripgrep/badges)\n\nDual-licensed under MIT or the [UNLICENSE](https://unlicense.org).\n\n\n### CHANGELOG\n\nPlease see the [CHANGELOG](CHANGELOG.md) for a release history.\n\n### Documentation quick links\n\n* [Installation](#installation)\n* [User Guide](GUIDE.md)\n* [Frequently Asked Questions](FAQ.md)\n* [Regex syntax](https://docs.rs/regex/1/regex/#syntax)\n* [Configuration files](GUIDE.md#configuration-file)\n* [Shell completions](FAQ.md#complete)\n* [Building](#building)\n* [Translations](#translations)\n\n\n### Screenshot of search results\n\n[![A screenshot of a sample search with ripgrep](https://burntsushi.net/stuff/ripgrep1.png)](https://burntsushi.net/stuff/ripgrep1.png)\n\n\n### Quick examples comparing tools\n\nThis example searches the entire\n[Linux kernel source tree](https://github.com/BurntSushi/linux)\n(after running `make defconfig \u0026\u0026 make -j8`) for `[A-Z]+_SUSPEND`, where\nall matches must be words. Timings were collected on a system with an Intel\ni9-12900K 5.2 GHz.\n\nPlease remember that a single benchmark is never enough! See my\n[blog post on ripgrep](https://blog.burntsushi.net/ripgrep/)\nfor a very det",
  "github_repo": "BurntSushi/ripgrep",
  "github_stars": 65274,
  "github_topics": [
    "cli",
    "command-line",
    "command-line-tool",
    "gitignore",
    "grep",
    "recursively-search",
    "regex",
    "ripgrep",
    "rust",
    "search"
  ],
  "homepage": "https://github.com/BurntSushi/ripgrep",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 67070,
  "installs_365d": 557818,
  "installs_90d": 213404,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Unlicense",
  "llm_generated_at": "2026-06-20T23:42:36+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "ripgrep",
  "oldnames": [],
  "one_liner": "Fast recursive regex search tool written in Rust, respects .gitignore by default and skips binaries.",
  "optional_dependencies": [],
  "rank_30d": 85,
  "rank_365d": 131,
  "rank_90d": 92,
  "raw_hash": "3cdd024d3f5d27f1",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/r/ripgrep.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "15.1.0",
  "versioned_formulae": [],
  "why_use_this": "ripgrep is dramatically faster than grep or The Silver Searcher on large codebases, handles gitignore rules automatically, and works identically across Windows/macOS/Linux. It\u0027s a popular drop-in replacement for grep in modern dev workflows, with excellent regex support and sensible defaults that skip noise."
}