diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-04-08 16:28:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-08 16:28:03 -0400 |
commit | 4ebd376a1e1c86b50b782c3a5e6cc13d167a43ee (patch) | |
tree | 6e341012b159de39b4413209c326f6ae20fd4e76 /README.md | |
parent | 7e0210c63ed6bde150b88184519d8c9d337f77aa (diff) |
docs: update cargo install instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 |