Downloads of v 0.9.0:


Last Update:

23 Oct 2016

Package Maintainer(s):

Software Author(s):

  • Sven Taute


search text regex grep ag

Sift - grep on steroids

  • 1
  • 2
  • 3

0.9.0 | Updated: 23 Oct 2016



Downloads of v 0.9.0:



Software Author(s):

  • Sven Taute

  • 1
  • 2
  • 3
Sift - grep on steroids 0.9.0

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.


To install Sift - grep on steroids, run the following command from the command line or from PowerShell:


To upgrade Sift - grep on steroids, run the following command from the command line or from PowerShell:


To uninstall Sift - grep on steroids, run the following command from the command line or from PowerShell:


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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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 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. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade sift -y --source="'STEP 3 URL'" [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 sift -y --source="'STEP 3 URL'"

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

Exit $exitCode

- name: Ensure sift installed
    name: sift
    state: present
    version: 0.9.0
    source: STEP 3 URL

See docs at

chocolatey_package 'sift' do
  action    :install
  version  '0.9.0'
  source   'STEP 3 URL'

See docs at

    Name: sift,
    Version: 0.9.0,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller sift
   Name     = 'sift'
   Ensure   = 'Present'
   Version  = '0.9.0'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'sift':
  provider => 'chocolatey',
  ensure   => '0.9.0',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install sift version="0.9.0" source="STEP 3 URL"

See docs at

5. 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 by moderator gep13 on 19 Aug 2020.



It's fast. really fast.

Some grep alternatives try to be fast by not searching everywhere. sift was developed with performance in mind and just is fast.
Take a look at the benchmarks for details.

No installation

sift comes as a single executable with no dependencies and is available for all major platforms (Linux, Windows, OS X, BSD)
Need to use sift on a remote server? Just copy it over and it will work - no problems due to missing packages.

Flexiblity. all the features you expect from a modern grep alternative.

  • RegEx - perl compatible regular expression syntax (no more escape hell)
  • usable defaults - basic options known from grep but with usable defaults
  • multiline support - find matches spanning over multiple lines
  • replace - replace output to reformat it to your needs without relying on awk/sed
  • gzip files - search through normal and gzip'ed files in one program call
  • multiple patterns - search for multiple patterns in one run
  • target selection - select or exclude search targets based on file name, directory name, path and type
  • handling big data - sift handles big files without problems: files >50GB, >5,000,000,000 lines and >5,000,000,000 matches successfully tested
  • customizable - optional global and local configuration file to specify your own preferences

Use Conditions

Doing code audits? Need to extract data from complex formats?
sift will make this much easier.
You may specify various conditions and only get matches.

  • preceded by A
  • followed by B within X lines
  • if the file also contains a line with C
  • if the file contains D in the first Y lines
  • any combination of the available conditions

$ErrorActionPreference = 'Stop';

$packageName = 'Sift'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = ''
$url64      = ''

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  url           = $url
  url64bit      = $url64

  checksum      = '4602ccc73d661b211dafcf338f71cd0c8454e5d1b56bb01512661555baae8b91'
  checksumType  = 'sha256'
  checksum64    = 'cd69d0c8dc5b6ef7911bc2bacdc329ec6ee703c72c5e81d91100cdd53fa33c13'
  checksumType64= 'sha256'

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.

Version Downloads Last Updated Status
Sift - grep on steroids 0.8.0 371 Tuesday, September 13, 2016 Approved

This package has no dependencies.

Discussion for the Sift - grep on steroids Package

Ground Rules:

  • This discussion is only about Sift - grep on steroids and the Sift - grep on steroids 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 Sift - grep on steroids, 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