From 4ebd376a1e1c86b50b782c3a5e6cc13d167a43ee Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Sat, 8 Apr 2023 16:28:03 -0400 Subject: docs: update cargo install instructions --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 31f2c057..8bb10d82 100644 --- a/README.md +++ b/README.md @@ -130,16 +130,19 @@ For more details on unsupported platforms and known problems, check out [the doc ### Cargo -Installation via cargo is done by installing the `bottom` crate: +Installation via cargo can be done by installing the [`bottom`](https://crates.io/crates/bottom) crate: ```bash -# If required, update Rust on the stable channel +# If required, update Rust to the stable channel rustup update stable -cargo install bottom --locked - -# Alternatively, --locked may be omitted if you wish to not used locked dependencies: cargo install bottom + +# If you use another channel by default, you can specify the stable channel as such: +cargo +stable install bottom --locked + +# --locked may be omitted if you wish to not used locked dependencies, though this may also cause problems: +cargo +stable install bottom ``` ### Arch Linux -- cgit v1.2.3