Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save raven-rock/dc5ed728db0fd410059a8a1794be97e6 to your computer and use it in GitHub Desktop.
Save raven-rock/dc5ed728db0fd410059a8a1794be97e6 to your computer and use it in GitHub Desktop.
Install current release of ripgrep from source
set -ex
sudo apt update
sudo apt install -y cargo
cd ~/repos
git clone --depth=1 https://github.com/BurntSushi/ripgrep
cd ripgrep
cargo build --release
./target/release/rg --version
sudo ln -s $PWD/target/release/rg /usr/local/bin/rg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment