Download ripgrep
Current version: 15.1.0 — Free and open source
All binaries available on GitHub Releases ↗
Install via Package Manager
🍎 macOS
macOS — Homebrew or MacPorts bash
# Homebrew (recommended)
brew install ripgrep
# MacPorts
sudo port install ripgrep 🪟 Windows
Windows — winget, Chocolatey, or Scoop powershell
# winget (built-in, recommended)
winget install BurntSushi.ripgrep.MSVC
# Chocolatey
choco install ripgrep
# Scoop
scoop install ripgrep 🐧 Linux
Linux — Debian, Fedora, Arch, openSUSE bash
# Debian / Ubuntu
sudo apt install ripgrep
# Fedora
sudo dnf install ripgrep
# Arch Linux
sudo pacman -S ripgrep
# openSUSE
sudo zypper install ripgrep
# Alpine
apk add ripgrep Build from Source
Requires Rust 1.72+ with Cargo installed.
Install via Cargo bash
# Install latest stable from crates.io
cargo install ripgrep
# Or build from source
git clone https://github.com/BurntSushi/ripgrep
cd ripgrep
cargo build --release
./target/release/rg --version Verify Your Installation
Confirm ripgrep is installed bash
rg --version
# ripgrep 15.1.0
# -SIMD -AVX (compiled)
# ... Shell Completions (Optional)
Generate shell completions bash
# bash
rg --generate complete-bash > ~/.local/share/bash-completion/completions/rg
# zsh
rg --generate complete-zsh > ~/.zfunc/_rg
# fish
rg --generate complete-fish > ~/.config/fish/completions/rg.fish
# PowerShell
rg --generate complete-powershell | Out-File -Encoding utf8 $PROFILE.d/rg.ps1 All set? Let's get searching.
Follow the Getting Started guide to learn ripgrep in 10 minutes.