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 armhf

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=13.0.0*

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

Download URLs

Version SHA256 Size (KB)
13.0.0 782e1cedb6dcc336679caada9657e64911659ac34c51d9a1d164c97fdf82477f 1475
Version SHA256 Size (KB)
13.0.0 ec3528c9b00149a8d75bc42e85e3bc35fa5912eb6a917b2e5f91a8b389f652a6 1116

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
  version: 13.0.0
  revision: "3"
  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
  script:
    - mv ripgrep-{{version}}-x86_64-unknown-linux-musl/rg {{src}}/usr/bin/rg

- name: ripgrep
  version: 13.0.0
  revision: "3"
  architecture: armhf
  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}}-{{rust_target}}.tar.gz
  script:
    - mv ripgrep-{{version}}-{{rust_target}}/rg {{src}}/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/13.0.0/ripgrep-13.0.0-arm-unknown-linux-gnueabihf.tar.gz
  sha256: 70137ff167d3d1481994a0efc836db0f62814d67f39baa670ad89955bc94762f
  timestamp: 2022-02-02 22:48:21+00:00
- url: https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz
  sha256: ee4e0751ab108b6da4f47c52da187d5177dc371f0f512a7caaec5434e711c091
  timestamp: 2021-12-14 15:37:09+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