# Install ripgrep with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Search tool like grep and The Silver Searcher. Version 15.1.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ripgrep
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ripgrep
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ripgrep
```

  Evidence: MacPorts ports tree: textproc/ripgrep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ripgrep
```

  Evidence: Alpine Linux edge package indexes: ripgrep from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ripgrep
```

  Evidence: Debian stable package indexes: ripgrep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ripgrep
```

  Evidence: Fedora Rawhide package metadata: ripgrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ripgrep
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ri/ripgrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ripgrep
```

  Evidence: Arch Linux sync databases: ripgrep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ripgrep
```

  Evidence: openSUSE Tumbleweed package metadata: ripgrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install ripgrep
```

  Evidence: Chocolatey community package catalog: ripgrep from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','reportgenerator.portable'

- Scoop (92%):

```sh
scoop install main/ripgrep
```

  Evidence: Scoop official bucket manifest trees: bucket/ripgrep.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id BurntSushi.ripgrep.GNU -e
```

  Evidence: Windows Package Manager source index: BurntSushi.ripgrep.GNU from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:ripgrep
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ripgrep>
- **Version:** 15.1.0
- **Source summary:** Search tool like grep and The Silver Searcher
- **Homepage:** <https://github.com/BurntSushi/ripgrep>
- **Repository:** <https://github.com/BurntSushi/ripgrep>
- **Upstream docs:** <https://github.com/BurntSushi/ripgrep#readme>
- **License:** Unlicense
- **Source archive:** <https://github.com/BurntSushi/ripgrep/archive/refs/tags/15.1.0.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- rg (cli)
- rg (alias)

## Dependencies

- pcre2

## Build dependencies

- asciidoctor
- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 15.1.0
- Local data: ok
- Upstream repository: https://github.com/BurntSushi/ripgrep
- Upstream latest detected: 15.1.0 (current)
- info: No package-manager update timestamp was available.

## Security Notes

doc example: narrow deterministic search appliance.

- **Geiger risk:** green / high
- doc example: narrow deterministic search appliance


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $RIPGREP_CONFIG_PATH
- Windows: %RIPGREP_CONFIG_PATH%
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ripgrep
- **Aliases:** rg
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - ripgrep - 14.1.1-1+b4: normalized package name match | Debian stable package indexes: ripgrep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Recursively searches directories for a regex pattern | https://github.com/BurntSushi/ripgrep
- Nix - ripgrep: normalized package name match | nixpkgs package indexes: pkgs/by-name/ri/ripgrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ripgrep - 14.1.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ripgrep from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Recursively searches directories for a regex pattern | https://github.com/BurntSushi/ripgrep
- apk - ripgrep - 15.1.0-r0: normalized package name match | Alpine Linux edge package indexes: ripgrep from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ripgrep combines the usability of The Silver Searcher with the raw speed of grep | https://github.com/BurntSushi/ripgrep
- apk - ripgrep-bash-completion - 15.1.0-r0: normalized package name match | Alpine Linux edge package indexes: ripgrep-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for ripgrep | https://github.com/BurntSushi/ripgrep
- apk - ripgrep-doc - 15.1.0-r0: normalized package name match | Alpine Linux edge package indexes: ripgrep-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ripgrep combines the usability of The Silver Searcher with the raw speed of grep (documentation) | https://github.com/BurntSushi/ripgrep
- apk - ripgrep-fish-completion - 15.1.0-r0: normalized package name match | Alpine Linux edge package indexes: ripgrep-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for ripgrep | https://github.com/BurntSushi/ripgrep
- apk - ripgrep-zsh-completion - 15.1.0-r0: normalized package name match | Alpine Linux edge package indexes: ripgrep-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for ripgrep | https://github.com/BurntSushi/ripgrep
- dnf - ripgrep - 14.1.1-4.fc44: normalized package name match | Fedora Rawhide package metadata: ripgrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Line-oriented search tool | https://crates.io/crates/ripgrep
- pacman - ripgrep - 15.1.0-3: normalized package name match | Arch Linux sync databases: ripgrep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A search tool that combines the usability of ag with the raw speed of grep | https://github.com/BurntSushi/ripgrep
- zypper - ripgrep - 15.1.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: ripgrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A search tool that combines ag with grep | https://github.com/BurntSushi/ripgrep
- zypper - ripgrep-bash-completion - 15.1.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: ripgrep-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for ripgrep | https://github.com/BurntSushi/ripgrep
- zypper - ripgrep-fish-completion - 15.1.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: ripgrep-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish Completion for ripgrep | https://github.com/BurntSushi/ripgrep
- zypper - ripgrep-zsh-completion - 15.1.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: ripgrep-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | ZSH Completion for ripgrep | https://github.com/BurntSushi/ripgrep
- MacPorts - ripgrep: normalized package name match | MacPorts ports tree: textproc/ripgrep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - ripgrep: normalized package name match | Chocolatey community package catalog: ripgrep from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','reportgenerator.portable'


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [asciidoctor](https://www.automicvault.com/pkg/brew/asciidoctor/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [happy-coder](https://www.automicvault.com/pkg/brew/happy-coder/) - Popular package that depends on this formula.
- [letta-code](https://www.automicvault.com/pkg/brew/letta-code/) - Popular package that depends on this formula.
- [nb](https://www.automicvault.com/pkg/brew/nb/) - Popular package that depends on this formula.
- [omnara](https://www.automicvault.com/pkg/brew/omnara/) - Popular package that depends on this formula.
- [opencode](https://www.automicvault.com/pkg/brew/opencode/) - Popular package that depends on this formula.
- [qwen-code](https://www.automicvault.com/pkg/brew/qwen-code/) - Popular package that depends on this formula.
- [ripgrep-all](https://www.automicvault.com/pkg/brew/ripgrep-all/) - Popular package that depends on this formula.
- [serpl](https://www.automicvault.com/pkg/brew/serpl/) - Popular package that depends on this formula.
- [hgrep](https://www.automicvault.com/pkg/brew/hgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [igrep](https://www.automicvault.com/pkg/brew/igrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [jvgrep](https://www.automicvault.com/pkg/brew/jvgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [krep](https://www.automicvault.com/pkg/brew/krep/) - Shares av.db curated category or tags: cli, developer-tools, regex, search.
- [sift](https://www.automicvault.com/pkg/brew/sift/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [sk](https://www.automicvault.com/pkg/brew/sk/) - Shares av.db curated category or tags: cli, developer-tools, rust, search.
- [tinysearch](https://www.automicvault.com/pkg/brew/tinysearch/) - Shares av.db curated category or tags: cli, developer-tools, rust, search.
- [ugrep](https://www.automicvault.com/pkg/brew/ugrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [ripgrep](https://www.automicvault.com/pkg/npm/ripgrep/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, rg, ripgrep.
- [ripgrep](https://www.automicvault.com/pkg/npm/ripgrep/) - Same normalized package name in another local ecosystem.
- [ripgrep](https://www.automicvault.com/pkg/cargo/ripgrep/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/ripgrep.yml](https://github.com/automic-vault/db/blob/main/combined/ripgrep.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
