Skip to content

ripgrep

Recursively searches directories for a regex pattern

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 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.

terminal

https://github.com/BurntSushi/ripgrep

amd64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install ripgrep

sudo apt install ripgrep

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    ripgrep=14.1.1*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      ripgrep=14.1.1*

Download URLs

Version SHA256 Size (KB)
14.1.1 d941362993d9402196176dd9f48840c6621339147f85dbce99738e79bb8d06f5 1791
14.1.0 f9282e4d99cd4e3f592b8396eb5fccbaed33eefd6580d14e857ba8367dbf14d4 1764
14.0.3 b72f706ee283e401f8031e8dbd5fdc6d7ff96d5eb386c3b4714d98230adfec0a 1700

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for ripgrep are versioned here.

Click here to see ripgrep ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/terminal/ripgrep/ops2deb.yml
name: ripgrep
matrix:
  versions:
    - 14.0.3
    - 14.1.0
    - 14.1.1
homepage: https://github.com/BurntSushi/ripgrep
summary: recursively searches directories for a regex pattern
description: |-
  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 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.
fetch: https://github.com/BurntSushi/ripgrep/releases/download/{{version}}/ripgrep-{{version}}-x86_64-unknown-linux-musl.tar.gz
install:
  - ripgrep-{{version}}-x86_64-unknown-linux-musl/rg:/usr/bin/rg

The blueprint fetch keyword contains a URL template pointing to ripgrep releases. Downloaded files are locked in a lockfile versioned here.

Click here to see ripgrep release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/terminal/ripgrep/ops2deb.lock.yml
- url: https://github.com/BurntSushi/ripgrep/releases/download/14.0.3/ripgrep-14.0.3-x86_64-unknown-linux-musl.tar.gz
  sha256: 62cd0efc4d6f1817b9c852859987b4720cd52e0de008418266e8503028dc0c7a
  timestamp: 2023-12-13 09:33:55+00:00
- url: https://github.com/BurntSushi/ripgrep/releases/download/14.1.0/ripgrep-14.1.0-x86_64-unknown-linux-musl.tar.gz
  sha256: f84757b07f425fe5cf11d87df6644691c644a5cd2348a2c670894272999d3ba7
  timestamp: 2024-01-06 21:14:31+00:00
- url: https://github.com/BurntSushi/ripgrep/releases/download/14.1.1/ripgrep-14.1.1-x86_64-unknown-linux-musl.tar.gz
  sha256: 4cf9f2741e6c465ffdb7c26f38056a59e2a2544b51f7cc128ef28337eeae4d8e
  timestamp: 2024-09-09 03:08:26+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/ripgrep.svg)](https://docs.wakemeops.com/packages/ripgrep)
<a href="https://docs.wakemeops.com/packages/ripgrep">
  <img src="https://docs.wakemeops.com/badges/ripgrep.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/ripgrep.svg
:target: https://docs.wakemeops.com/packages/ripgrep