Downloads:

62,570

Downloads of v 0.10.0:

3,686

Last Update:

10 Sep 2018

Package Maintainer(s):

Software Author(s):

  • BurntSushi

Tags:

search ripgrep rg

ripgrep

This is not the latest version of ripgrep available.

  • 1
  • 2
  • 3

0.10.0 | Updated: 10 Sep 2018

Downloads:

62,570

Downloads of v 0.10.0:

3,686

Maintainer(s):

Software Author(s):

  • BurntSushi

Tags:

search ripgrep rg

  • 1
  • 2
  • 3
ripgrep 0.10.0

This is not the latest version of ripgrep available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

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

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade ripgrep -y --source="'INTERNAL REPO URL'" --version="'0.10.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade ripgrep -y --source="'INTERNAL REPO URL'" --version="'0.10.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install ripgrep
  win_chocolatey:
    name: ripgrep
    version: '0.10.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'ripgrep' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.10.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller ripgrep
{
    Name     = "ripgrep"
    Version  = "0.10.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'ripgrep':
  ensure   => '0.10.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

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

This package was approved as a trusted package on 25 Mar 2019.

Description

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 https://chocolatey.org/packages/vcredist2015. This will change once this https://github.com/rust-lang/rust/pull/37545 is resolved and ripgrep can statically link the CRT.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$version     = $env:chocolateyPackageVersion
$packageName = $env:chocolateyPackageName
$toolsDir    = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$url         = ("https://github.com/BurntSushi/ripgrep/releases/download/{0}/ripgrep-{0}-i686-pc-windows-msvc.zip" -f $version)
$url64       = ("https://github.com/BurntSushi/ripgrep/releases/download/{0}/ripgrep-{0}-x86_64-pc-windows-msvc.zip" -f $version)

$packageArgs = @{
    packageName    = $packageName
    unzipLocation  = $toolsDir
    fileType       = 'exe'
    url            = $url
    checksum       = "4C3C47455F88183C0D8841BFC8F00699F5A1D978"
    checksumType   = "sha1"
    url64bit       = $url64
    checksum64     = "F55E6355AE050CA0A8FF8DF3FB5D1B80A1CB6500"
    checksumType64 = "sha1"
}

Install-ChocolateyZipPackage @packageArgs

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
ripgrep 13.0.0 1289 Monday, June 14, 2021 Approved
ripgrep 12.1.1.20200727 13302 Monday, July 27, 2020 Approved
ripgrep 12.1.1 3186 Friday, May 29, 2020 Approved
ripgrep 12.1.0 1218 Friday, May 15, 2020 Approved
ripgrep 12.0.1 2779 Monday, March 30, 2020 Approved
ripgrep 11.0.2 6398 Friday, August 2, 2019 Approved
ripgrep 11.0.1 2509 Tuesday, April 16, 2019 Approved
ripgrep 0.10.0 3686 Monday, September 10, 2018 Approved

ripgrep is a line-oriented search tool that recursively searches your current directory for a regex pattern while respecting your gitignore rules. 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.

This is a new minor version release of ripgrep that contains some major new
features, a huge number of bug fixes, and is the first release based on
libripgrep. The entirety of ripgrep's core search and printing code has been
rewritten and generalized so that anyone can make use of it.

Major new features include PCRE2 support, multi-line search and a JSON output
format.

BREAKING CHANGES:

  • The minimum version required to compile Rust has now changed to track the
    latest stable version of Rust. Patch releases will continue to compile with
    the same version of Rust as the previous patch release, but new minor
    versions will use the current stable version of the Rust compile as its
    minimum supported version.
  • The match semantics of -w/--word-regexp have changed slightly. They used
    to be \\b(?:<your pattern>)\\b, but now it's
    (?:^|\\W)(?:<your pattern>)(?:$|\\W). This matches the behavior of GNU grep
    and is believed to be closer to the intended semantics of the flag. See
    #389 for more details.

Feature enhancements:

  • FEATURE #162:
    libripgrep is now a thing. The primary crate is
    grep.
  • FEATURE #176:
    Add -U/--multiline flag that permits matching over multiple lines.
  • FEATURE #188:
    Add -P/--pcre2 flag that gives support for look-around and backreferences.
  • FEATURE #244:
    Add --json flag that prints results in a JSON Lines format.
  • FEATURE #321:
    Add --one-file-system flag to skip directories on different file systems.
  • FEATURE #404:
    Add --sort and --sortr flag for more sorting. Deprecate --sort-files.
  • FEATURE #416:
    Add --crlf flag to permit $ to work with carriage returns on Windows.
  • FEATURE #917:
    The --trim flag strips prefix whitespace from all lines printed.
  • FEATURE #993:
    Add --null-data flag, which makes ripgrep use NUL as a line terminator.
  • FEATURE #997:
    The --passthru flag now works with the --replace flag.
  • FEATURE #1038-1:
    Add --line-buffered and --block-buffered for forcing a buffer strategy.
  • FEATURE #1038-2:
    Add --pre-glob for filtering files through the --pre flag.

Bug fixes:

  • BUG #2:
    Searching with non-zero context can now use memory maps if appropriate.
  • BUG #200:
    ripgrep will now stop correctly when its output pipe is closed.
  • BUG #389:
    The -w/--word-regexp flag now works more intuitively.
  • BUG #643:
    Detection of readable stdin has improved on Windows.
  • BUG #441,
    BUG #690,
    BUG #980:
    Matching empty lines now works correctly in several corner cases.
  • BUG #764:
    Color escape sequences now coalesce, which reduces output size.
  • BUG #842:
    Add man page to binary Debian package.
  • BUG #922:
    ripgrep is now more robust with respect to memory maps failing.
  • BUG #937:
    Color escape sequences are no longer emitted for empty matches.
  • BUG #940:
    Context from the --passthru flag should not impact process exit status.
  • BUG #984:
    Fixes bug in ignore crate where first path was always treated as a symlink.
  • BUG #990:
    Read stderr asynchronously when running a process.
  • BUG #1013:
    Add compile time and runtime CPU features to --version output.
  • BUG #1028:
    Don't complete bare pattern after -f in zsh.
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