ElectricRCAircraftGuy / ripgrep_replace

ripgrep_replace, or rgr, is a light-weight wrapper around ripgrep, supporting 100% of ripgrep's features + adding '-R' to enable on-disk find-and-replace; rgf2 is an interactive regex finder and viewer with syntax highlighting
MIT License
21 stars 4 forks source link

Add install.sh file #2

Open ElectricRCAircraftGuy opened 2 years ago

ElectricRCAircraftGuy commented 2 years ago

https://github.com/ElectricRCAircraftGuy/ripgrep_replace/blob/main/install.sh

ElectricRCAircraftGuy commented 1 year ago

Have people call it without downloading the repo first, like this!:

sudo apt update
sudo apt install curl
curl -s https://raw.githubusercontent.com/ElectricRCAircraftGuy/ripgrep_replace/main/install.sh | sudo bash

...kind of like speedtest does, here!: https://www.speedtest.net/apps/cli:

sudo apt-get install curl
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash
sudo apt-get install speedtest
ElectricRCAircraftGuy commented 1 year ago

Another really good example: installing the micro CLI-with-mouse-support editor. Installation script: https://getmic.ro/

Repo: https://github.com/zyedidia/micro

Installation command:

# Quick install script
curl https://getmic.ro | bash