Created
November 7, 2018 17:15
-
-
Save raven-rock/dc5ed728db0fd410059a8a1794be97e6 to your computer and use it in GitHub Desktop.
Install current release of ripgrep from source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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