summaryrefslogtreecommitdiffstats
path: root/website/docs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2022-06-13 15:19:00 +0200
committerCanop <cano.petrole@gmail.com>2022-06-13 15:19:00 +0200
commit37201de6954d751451d010b8a97977c6da76d08f (patch)
treed7310df9c414b92d7e5d28226ef6f7396bb1e4d4 /website/docs
parent3ee57df86a50af43d441e1dd457b0cb116f66894 (diff)
website: instruction to install with --locked
There's way too often multiple versions of crossterm loaded because a dependency changed and links to a newer version of crossterm.
Diffstat (limited to 'website/docs')
-rw-r--r--website/docs/install.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/website/docs/install.md b/website/docs/install.md
index f45778a..f96f05c 100644
--- a/website/docs/install.md
+++ b/website/docs/install.md
@@ -34,7 +34,9 @@ You'll need to have the [Rust development environment](https://www.rustup.rs) in
Once it's installed, use cargo to install broot:
- cargo install broot
+```bash
+cargo install --locked broot
+```
# From source
@@ -43,7 +45,7 @@ You'll need to have the [Rust development environment](https://www.rustup.rs) in
Fetch the [Canop/broot](https://github.com/Canop/broot) repository, move to the broot directory, then run
```bash
-cargo install --path .
+cargo install --locked --path .
```
If you want a custom compilation, have a look at the [optional features documentation](https://github.com/Canop/broot/blob/master/features.md).