Xiaxiang Downloads中文

ripgrep 16 can search a saved list of files

Two new options accept a file list, and a shorter exclusion flag makes it easier to leave selected file types out of a recursive search.

Until now, reusing a list of files for a ripgrep search often meant feeding paths through another command. Version 16.0.0, released November 22, 2026, adds --in. Put one path per line in a text file named paths.txt, then run rg --in paths.txt TODO from the directory those paths refer to. You can change the search term without rebuilding the list. When another tool writes paths separated by a NUL byte, use --in0 instead.

There is also a shorter way to exclude file types when searching a directory. For example, rg -G '*.toml' TODO leaves out TOML files. Quoting the pattern matters in shells that otherwise expand the wildcard before ripgrep starts.

On a shared machine, the RIPGREP_THREADS environment variable can set a default thread count across searches. The command-line -j option takes precedence when one particular search needs a different limit. The Windows x64 build in the download section is packaged as a ZIP.

Downloads

ripgrep-16.0.0-x86_64-pc-windows-msvc.zip16.0.0 · 1.70 MiB
Verify SHA-256f418ae83e63046a94a7b5f3a44bf3a169f66e689164856ecee02547131c73931