RipGrep MSVC

BurntSushi·BurntSushi.ripgrep.MSVC

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

ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern. By default, ripgrep will respect gitignore rules and automatically skip hidden files/directories and binary files. (To disable all automatic filtering by default, use rg -uuu.) ripgrep has first class support on Windows, macOS and Linux, with binary downloads available for every release. ripgrep is similar to other popular search tools like The Silver Searcher, ack and grep.

winget install --id BurntSushi.ripgrep.MSVC --exact --source winget

Latest 16.0.0·November 22, 2026

Release Notes

Sponsorship is appreciated!

In case you haven't heard of it before, ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern. By default, ripgrep will respect gitignore rules and automatically skip hidden files/directories and binary files.

ripgrep 16 is a new major version release of ripgrep that mostly has bug fixes, some minor performance improvements and a small number of new features. Here are some highlights:

  • There is now an --in flag for telling which files ripgrep should search by pointing to another containing line delimited file paths. (There is also a corresponding --in0 flag for NUL delimited file paths.)
  • ripgrep now has a -G/--glob-not flag, which is recommended in lieu of using ! to negate a glob. That is, -g '!.toml' can now be spelled as -G '.toml'.
  • ripgrep now respects a new RIPGREP_THREADS environment variable for setting the default number of threads to use for parallel searches. Whenever -j/--threads is specified on the command line (or in a configuration file), it takes precedence over the environment variable.
  • riscv64 has been re-added to ripgrep's release pipeline. Binaries can now be downloaded for that target.

Enhancements:

  • #3522: Add new -G/--glob-not flag for negating -g/--glob.
  • #3425, #3622, #3511: Add nushell completions via --generate complete-nushell (#3425).
  • #3255: Add Zed hyperlink alias.
  • #2962: Add POSIX character class support in bracket expressions.
  • #3035: Add --max-bytes flag to limit bytes per file.
  • #273, #3459: Add --in/--in0 flags for reading file paths.
  • #3317, #3415: Support RIPGREP_THREADS environment variable.
  • #3620, #3617: Delay-load userenv.dll on Windows MSVC.

Bug fixes:

  • #3609, #3603: Reject partial path components when stripping Unix prefixes.
  • #3605, #3604: Continue reading ignore files after invalid UTF-8 lines.
  • #3607, #3614: Statically link binary on Windows ARM64/MSVC (#3607).
  • #3593: -v -m N -A k printing the rest of the input as matches.
  • #3581, #1764: -g !DIRNAME/ couldn't match when the CWD is DIRNAME.
  • #2552: Don't report ignored broken symlinks when following links.
  • #3577: Hostname buffer size at HOST_NAME_MAX.
  • #3382: Preserve buffered matches after parallel search errors.
  • #3526: Hyperlink paths that are not valid UTF-8.
  • #2745: Exclude path separator from character classes.
  • #3534: Detect symlink loops above the search root.
  • #3617: Don't compare against stdout when it's a pipe on Windows.
  • #2958: Sanitize paths by removing control codes in output.
  • #3527: Treat lone ! gitignore line as a no-op.
  • #3484: Separate Scheme from Lisp file types.
  • #3342: Detect compressed files by magic number, not just extension.
  • #3477: Parse trailing spaces correctly in gitignore patterns.
  • #1983, #3364: --json should emit multiple matches in multiline mode.
  • #3222: Separate flags from paths in decompression commands.
  • #3503: Fall back past MAX_LOOK_AHEAD in multi-line match discovery.

Documentation:

  • #3598: Clarify PATH environment variable in flag documentation.
  • #3551: Note that nesting {...} alternates is allowed.
  • #3538: Document git divergence in matched_path_or_any_parents.
  • #3243: Emit .TP for each flag entry to generate linkable anchors.
  • #3500: Clarify that the -r/--replace flag is not recursive search.
  • #3323: Remove $ prompt symbols from README code blocks.
  • #3448: Update guide examples for a more recent release.

Performance:

  • #3597, #3594: Skip path resolution when hyperlinks are disabled.
  • #2832: Honor custom line terminators in the regex engine.

Installer type: zip

x86—13516D80B8851949E5929B27ACCFA07B5DF2228791F93F8422A6C7A25B7B2980
x64—F418AE83E63046A94A7B5F3A44BF3A169F66E689164856ECEE02547131C73931
arm64—3302EDE09745D33CA2B287BF3C6434C54CB35C3B408A7D3A265939961ADD5A1A

Details

Homepage
https://github.com/BurntSushi/ripgrep
License
Dual License (MIT & Unlicense)
Publisher
BurntSushi
Support
https://github.com/BurntSushi/ripgrep/issues
Moniker
rg

Tags

clicommand-linecommand-line-toolgitignoregreprecursively-searchregexripgreprustsearch

Older versions (8)

15.2.0
x86—9BF73BDB3FDA9AD4B0235E1295B02C717031C986AFA4D7C05DD0AF8B74010A95
x64—71B2FEF860ABE467217A538FF31DE02F5258807C0129F771846F87BD029AAFC5
arm64—E4ABCA10C3A64EBEA742667DD7009449D49403DB5460DD6873E389FA2945360F
15.1.0
x86—725BE85A1E8F92878A548F40EE4F6DF64BC93B809586462B3C6D884E1DE1E83A
x64—124510B94B6BAA3380D051FDF4650EAA80A302C876D611E9DBA0B2E18D87493A
arm64—00D931FB5237C9696CA49308818EDB76D8EB6FC132761CB2A1BD616B2DF02F8E
15.0.0
x64—21A98BF42C4DA97CA543C010E764CC6DEC8B9B7538D05F8D21874016385E0860
x86—ACB9918E9F3A88BD171143D663FFB12E8AB765B48BB449F8E7D8F1C7C1BD8311
arm64—572709C8770CB7F9385D725CB06D2BCD9537EC24D4DD17B1BE1D65A876F8B591
14.1.1
x86—1E5C99E4851C964152DB07C79151982C7FA7A549B645B6B47DAAE07A9C185F8E
x64—D0F534024C42AFD6CB4D38907C25CD2B249B79BBE6CC1DBEE8E3E37C2B6E25A1
14.1.0
x86—3b2e4776f9510d2f502fea92f1be45c02ff0f46da50f034b04fe866182ffc0d6
x64—fe4f75edfaa50f0d4fecbf47696b7629f3449c9c2c5a4da828753139e5a2e203
14.0.3
x86—75415AA80E2C458A2BB34BDD31653E29EC9B32240141B18D65784B965301EA94
x64—B6DF202A06CAB342CF28302F319DDD5788DA10672781C38DD49EBE566B423E3F
14.0.2
x86—68D75FB0868CBD100A7A6B0DCECA3EF389F15237E4D8FF3D3FF02408B1156616
x64—06403C8587B6B3C7E55BF1AE8A7E1AC44D6D54E6AE07A68482051259A14140ED
13.0.0
x86—725FAB270E0C7419E0032B8DCF28CB399337BE9D4867D4E527A1D9671EFECFFB
x64—A47ACE6F654C5FFA236792FC3EE3FEFD9C7E88E026928B44DA801ACB72124AA8