From e29f7e4bb4bba027c3ff8970f75279c3337b3e70 Mon Sep 17 00:00:00 2001 From: Daniel Duan Date: Tue, 21 Apr 2020 13:35:31 -0700 Subject: [PATCH] Add instruction for installing from source --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 941abdf..fd83827 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,13 @@ scoop install tre snap install --devmode --beta tre ``` +### From Source + +1. Clone this repository: `git clone https://github.com/dduan/tre.git`. +2. Ensure you have Rust and Cargo installed. If not, follow instruction [here](https://rustup.rs). +3. In the root level of this repo, run `cargo build --release`. +4. Move `target/release/tre` to somewhere in your PATH environment variable. + ## Editor aliasing *This feature doesn't work on Windows yet.*