canido.dev
Projects/BurntSushi / ripgrep

ripgrep

Search the files under a directory for a regex, respecting .gitignore

Get it on GitHub
Unclaimed

Built by @BurntSushi on GitHub. This page was written by @iluxav from public sources, last updated for 15.2.0 (2026-07-15), and may lag behind new releases.

Maintain ripgrep? Claim it
15.2.0 / 2026-07-1510 things you can do5 changes to know before upgradingFollow (Atom feed)

Search code and text files recursively for a pattern from the terminal, skipping ignored, hidden and binary files by default.

What you can do with it

Search every file under a directory for a regex, skipping files your .gitignore ignores, hidden files and binary files.

Present at 13.0.0

Limit a search to some file types or glob patterns, or exclude them.

Present at 13.0.0

Show context lines, search several patterns, count matches and highlight them in color, as with grep.

Present at 13.0.0

Use look-around and backreferences in patterns by switching to the PCRE2 engine.

Good to know

Needs a ripgrep build with PCRE2 support.

Present at 13.0.0

Search files in encodings other than UTF-8, such as UTF-16, latin-1 or Shift_JIS.

Good to know

Only UTF-16 is detected automatically; other encodings need `-E`.

Present at 13.0.0

Search inside compressed files such as gzip, xz, bzip2 or zstd archives of single files.

Good to know

Needs the matching decompression program installed.

Present at 13.0.0

Search files through a preprocessing command, for example to search the text of PDFs.

Present at 13.0.0

Get search results as JSON lines for editors and scripts.

Present at 13.0.0
Show all 10

Set default flags in a configuration file.

Present at 13.0.0

Before you upgrade

Newest first
15.0.02025-10-15

Release binaries for powerpc64 are no longer built; build ripgrep from source on that platform.

Action requiredAffects: powerpc64 users who download release binaries
Read the evidence
14.1.12024-09-08

The `simd-accel` Cargo feature was removed; build without it.

Action requiredAffects: People building ripgrep with `--features simd-accel`
Read the evidence
Show 2 older
14.0.32023-11-28

The man page and shell completions are now produced with `rg --generate man` and `rg --generate complete-<shell>`; the asciidoc build dependency is gone.

Action requiredAffects: Packagers building ripgrep from source
Read the evidence
Release history 7
15.2.02026-07-15

Have ripgrep respect the git config files you point to with GIT_CONFIG_GLOBAL and GIT_CONFIG_SYSTEM.

Details

ripgrep reads `GIT_CONFIG_GLOBAL` and `GIT_CONFIG_SYSTEM`, traverses very large trees faster, and ships `aarch64-unknown-linux-musl` binaries.

15.2.0.

Improved: Search every file under a directory for a regex, sk…

Seeded by @iluxav with Claude Code (canido)

Read the evidence
15.1.02025-10-22

Follow growing files with ripgrep and `tail -f` again.

Details

Fixes a regression from 15.0.0 that delayed output with `--line-buffered`; adds a hyperlink alias for the Cursor editor.

15.1.0.

Now works: Show context lines, search several patterns, count…Improved: Turn file paths in the results into hyperlinks that…

Seeded by @iluxav with Claude Code (canido)

Read the evidence
15.0.02025-10-15

Search Jujutsu repositories with their ignore rules respected, as in git.

Details

Directories with `.jj` are treated as git repositories; gitignore rules from parent directories are applied correctly; `-r/--replace` works with `--json`; globs allow nested braces; a `highlight` color type and `italic` style.

15.0.0; Windows on aarch64 gets release binaries, powerpc64 no longer does.

Improved: Search every file under a directory for a regex, sk…Improved: Get search results as JSON lines for editors and sc…Improved: Limit a search to some file types or glob patterns,…Behavior changed: Show context lines, search several patterns, count…Action required

Seeded by @iluxav with Claude Code (canido)

Read the evidence
14.1.12024-09-08

Rely on ripgrep reporting every match for regexes that could be missed before.

Details

Fixes a bug that could make some regexes miss matching lines, for example `(?i:e.x|ex)` not matching `e-x`; the `simd-accel` build feature is removed.

14.1.1.

Now works: Search every file under a directory for a regex, sk…Action required

Seeded by @iluxav with Claude Code (canido)

Read the evidence
14.1.02024-01-06

Run ripgrep on 32-bit ARM Linux from the release binaries.

Details

Release binaries for `armv7-unknown-linux-gnueabihf`, `armv7-unknown-linux-musleabihf` and `armv7-unknown-linux-musleabi`; better fish completions; a fix for unbounded memory growth while walking directories.

14.1.0.

Improved: Search every file under a directory for a regex, sk…

Seeded by @iluxav with Claude Code (canido)

Read the evidence
14.0.32023-11-28

Click a file path in the results to open it, with hyperlinks in supporting terminals.

Details

New `--hyperlink-format` (for example `default` or `vscode`), `--stop-on-nonmatch`, and `-d` as a short form of `--max-depth`; completions and the man page come from `rg --generate`. Groups 14.0.0 to 14.0.3.

Also: A rewritten regex engine and faster parallel directory traversal.

14.0.3; hyperlinks are opt-in and need a terminal that supports them. Binaries for Apple silicon.

Added: Turn file paths in the results into hyperlinks that…Improved: Show context lines, search several patterns, count…Action required: Show context lines, search several patterns, count…Action required

Seeded by @iluxav with Claude Code (canido)

Read the evidence
13.0.02021-06-12
Starting point

Search a whole directory tree for a pattern while skipping ignored, hidden and binary files.

Details

State as of 13.0.0: `rg PATTERN` searches recursively, honours `.gitignore`, `.ignore` and `.rgignore`, and skips hidden and binary files unless asked.

Prebuilt binaries, package managers, `cargo install ripgrep`.

Added: Search every file under a directory for a regex, sk…Added: Limit a search to some file types or glob patterns,…Added: Show context lines, search several patterns, count…Added: Use look-around and backreferences in patterns by s…Added: Search files in encodings other than UTF-8, such as…Added: Search inside compressed files such as gzip, xz, bz…Added: Search files through a preprocessing command, for e…Added: Get search results as JSON lines for editors and sc…Added: Set default flags in a configuration file.

Seeded by @iluxav with Claude Code (canido)

Read the evidence