summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2020-04-27 23:43:18 +0200
committersharkdp <davidpeter@web.de>2020-04-27 23:43:18 +0200
commit2b1d53fb27865f4784db64e96ebb99412b13541c (patch)
treef6fb28c69ebba49c271cea2aceeb721e9869b081 /README.md
parentbf696f58c89bc8115e2ead1a66a3250d33db1376 (diff)
Add '--locked' flag to all 'cargo install' commands
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 157a2e6c..5972806f 100644
--- a/README.md
+++ b/README.md
@@ -352,7 +352,7 @@ If you want to build `bat` from source, you need Rust 1.40 or
higher. You can then use `cargo` to build everything:
```bash
-cargo install bat
+cargo install --locked bat
```
On some platforms, you might need to install `llvm` and/or `libclang-dev`.
@@ -606,11 +606,11 @@ cargo build --bins
cargo test
# Install (release version)
-cargo install
+cargo install --locked
# Build a bat binary with modified syntaxes and themes
bash assets/create.sh
-cargo install -f
+cargo install --locked --force
```
## Maintainers