diff options
author | sharkdp <davidpeter@web.de> | 2020-04-27 23:43:18 +0200 |
---|---|---|
committer | sharkdp <davidpeter@web.de> | 2020-04-27 23:43:18 +0200 |
commit | 2b1d53fb27865f4784db64e96ebb99412b13541c (patch) | |
tree | f6fb28c69ebba49c271cea2aceeb721e9869b081 /README.md | |
parent | bf696f58c89bc8115e2ead1a66a3250d33db1376 (diff) |
Add '--locked' flag to all 'cargo install' commands
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |