From 15a3eb4c7e6c92a255f4cb26d5ce1764ebad6eaf Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Sat, 4 Apr 2020 23:20:50 -0400 Subject: [PATCH] (docs) Be more specific about manual installation --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b60b21c..655d2c3a 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,22 @@ Note that binaries are built on the stable version of Rust, and I mainly test an ### Manual -Clone from this repo or from [Releases](https://github.com/ClementTsang/bottom/releases), and build with `cargo build --release`. You may also want to strip the binary after. +A few ways to go about doing this: + +```bash +# Clone and install all via Cargo +cargo install --git https://github.com/ClementTsang/bottom + +# Clone and install manually +git clone https://github.com/ClementTsang/bottom +cd bottom +cargo install --path . + +# Download from releases and install +curl -LO https://github.com/ClementTsang/bottom/releases/download/0.2.2/bottom_source_code.tar.gz +tar -xzvf bottom_source_code.tar.gz +cargo install --path . +``` ### Cargo