Notices: This section not yet converted to new layout. Download stats are rolling back out.



Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 4/17/2019.

ripgrep is a command line search tool that combines the usability of The Silver Searcher (an ack clone)
with the raw speed of GNU grep. ripgrep has first class support on Windows, Mac and Linux, with binary
downloads available for every release.

## Notes

We are currently depending on Visual C++ Redistributable for Visual Studio 2015 This will change once this is resolved and ripgrep can statically link the CRT.

To install ripgrep, run the following command from the command line or from PowerShell:

C:\> choco install ripgrep

To upgrade ripgrep, run the following command from the command line or from PowerShell:

C:\> choco upgrade ripgrep


  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $version     = $env:chocolateyPackageVersion
    $packageName = $env:chocolateyPackageName
    $toolsDir    = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url         = ("{0}/ripgrep-{0}" -f $version)
    $url64       = ("{0}/ripgrep-{0}" -f $version)
    $packageArgs = @{
        packageName    = $packageName
        unzipLocation  = $toolsDir
        fileType       = 'exe'
        url            = $url
        checksum       = "00F8319FA863B69141728AF57543B3D1FD2228F0"
        checksumType   = "sha1"
        url64bit       = $url64
        checksum64     = "6AF5BF5EE7FBE32C49156421C8FF128A543A6DBE"
        checksumType64 = "sha1"
    Install-ChocolateyZipPackage @packageArgs

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


Package Maintainer(s)

Software Author(s)

  • BurntSushi


Release Notes

ripgrep 11.0.1 is a new patch release that fixes a search regression introduced
in the previous 11.0.0 release. In particular, ripgrep can enter an infinite
loop for some search patterns when searching invalid UTF-8.

Bug fixes:

  • BUG #1247:
    Fix search bug that can cause ripgrep to enter an infinite loop.

Notes for 11.0.0

ripgrep 11 is a new major version release of ripgrep that contains many bug
fixes, some performance improvements and a few feature enhancements. Notably,
ripgrep's user experience for binary file filtering has been improved. See the
guide's new section on binary data for more details.

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

This release also marks a change in ripgrep's versioning. Where as the previous
version was 0.10.0, this version is 11.0.0. Moving forward, ripgrep's
major version will be increased a few times per year. ripgrep will continue to
be conservative with respect to backwards compatibility, but may occasionally
introduce breaking changes, which will always be documented in this CHANGELOG.
See issue 1172 for a bit
more detail on why this versioning change was made.

This release increases the minimum supported Rust version from 1.28.0 to


  • ripgrep has tweaked its exit status codes to be more like GNU grep's. Namely,
    if a non-fatal error occurs during a search, then ripgrep will now always
    emit a 2 exit status code, regardless of whether a match is found or not.
    Previously, ripgrep would only emit a 2 exit status code for a catastrophic
    error (e.g., regex syntax error). One exception to this is if ripgrep is run
    with -q/--quiet. In that case, if an error occurs and a match is found,
    then ripgrep will exit with a 0 exit status code.
  • Supplying the -u/--unrestricted flag three times is now equivalent to
    supplying --no-ignore --hidden --binary. Previously, -uuu was equivalent
    to --no-ignore --hidden --text. The difference is that --binary disables
    binary file filtering without potentially dumping binary data into your
    terminal. That is, rg -uuu foo should now be equivalent to grep -r foo.
  • The avx-accel feature of ripgrep has been removed since it is no longer
    necessary. All uses of AVX in ripgrep are now enabled automatically via
    runtime CPU feature detection. The simd-accel feature does remain available
    (only for enabling SIMD for transcoding), however, it does increase
    compilation times substantially at the moment.

Performance improvements:

Feature enhancements:

  • Added or improved file type filtering for Apache Thrift, ASP, Bazel, Brotli,
    BuildStream, bzip2, C, C++, Cython, gzip, Java, Make, Postscript, QML, Tex,
    XML, xz, zig and zstd.
  • FEATURE #855:
    Add --binary flag for disabling binary file filtering.
  • FEATURE #1078:
    Add --max-columns-preview flag for showing a preview of long lines.
  • FEATURE #1099:
    Add support for Brotli and Zstd to the -z/--search-zip flag.
  • FEATURE #1138:
    Add --no-ignore-dot flag for ignoring .ignore files.
  • FEATURE #1155:
    Add --auto-hybrid-regex flag for automatically falling back to PCRE2.
  • FEATURE #1159:
    ripgrep's exit status logic should now match GNU grep. See updated man page.
  • FEATURE #1164:
    Add --ignore-file-case-insensitive for case insensitive ignore globs.
  • FEATURE #1185:
    Add -I flag as a short option for the --no-filename flag.
  • FEATURE #1207:
    Add none value to -E/--encoding to forcefully disable all transcoding.
  • FEATURE da9d7204:
    Add --pcre2-version for querying showing PCRE2 version information.

Bug fixes:

  • BUG #306,
    BUG #855:
    Improve the user experience for ripgrep's binary file filtering.
  • BUG #373,
    BUG #1098:
    ** is now accepted as valid syntax anywhere in a glob.
  • BUG #916:
    ripgrep no longer hangs when searching /proc with a zombie process present.
  • BUG #1052:
    Fix bug where ripgrep could panic when transcoding UTF-16 files.
  • BUG #1055:
    Suggest -U/--multiline when a pattern contains a \n.
  • BUG #1063:
    Always strip a BOM if it's present, even for UTF-8.
  • BUG #1064:
    Fix inner literal detection that could lead to incorrect matches.
  • BUG #1079:
    Fixes a bug where the order of globs could result in missing a match.
  • BUG #1089:
    Fix another bug where ripgrep could panic when transcoding UTF-16 files.
  • BUG #1091:
    Add note about inverted flags to the man page.
  • BUG #1093:
    Fix handling of literal slashes in gitignore patterns.
  • BUG #1095:
    Fix corner cases involving the --crlf flag.
  • BUG #1101:
    Fix AsciiDoc escaping for man page output.
  • BUG #1103:
    Clarify what --encoding auto does.
  • BUG #1106:
    --files-with-matches and --files-without-match work with one file.
  • BUG #1121:
    Fix bug that was triggering Windows antimalware when using the --files
  • BUG #1125,
    BUG #1159:
    ripgrep shouldn't panic for rg -h | rg and should emit correct exit status.
  • BUG #1144:
    Fixes a bug where line numbers could be wrong on big-endian machines.
  • BUG #1154:
    Windows files with \"hidden\" attribute are now treated as hidden.
  • BUG #1173:
    Fix handling of ** patterns in gitignore files.
  • BUG #1174:
    Fix handling of repeated ** patterns in gitignore files.
  • BUG #1176:
    Fix bug where -F/-x weren't applied to patterns given via -f.
  • BUG #1189:
    Document cases where ripgrep may use a lot of memory.
  • BUG #1203:
    Fix a matching bug related to the suffix literal optimization.
  • BUG 8f14cb18:
    Increase the default stack size for PCRE2's JIT.

Version History

Version Downloads Last updated Status
ripgrep 0.10.0 3545 Monday, September 10, 2018 approved
ripgrep 0.9.0 910 Tuesday, August 7, 2018 approved
ripgrep 0.8.1 2454 Wednesday, February 21, 2018 approved
ripgrep 0.8.0 477 Monday, February 12, 2018 approved
ripgrep 0.7.1 1582 Tuesday, October 24, 2017 approved
ripgrep 0.6.0 1117 Friday, August 25, 2017 approved
ripgrep 0.5.2 1116 Tuesday, May 23, 2017 approved
ripgrep 0.5.1 558 Thursday, April 20, 2017 approved
ripgrep 0.5.0 587 Tuesday, March 14, 2017 approved
Show More

Discussion for the ripgrep Package

Ground rules:

  • This discussion is only about ripgrep and the ripgrep package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or ripgrep, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.