Skip to content

Commit 49b56c3

Browse files
authored
docs: Update installation.md to use --locked (#2284)
1 parent 9ae7d15 commit 49b56c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/documentation/getting-started/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,14 @@ From a terminal, you can now run the following commands:
204204
```sh
205205
$ git clone https://github.com/getzola/zola.git
206206
$ cd zola
207-
$ cargo install --path .
207+
$ cargo install --path . --locked
208208
$ zola --version
209209
```
210210

211211
If you encountered compilation errors like `error: failed to run custom build command for 'ring v0.16.20'`, you can try the command below instead:
212212

213213
```sh
214-
$ cargo build --release --no-default-features --features=native-tls
214+
$ cargo build --release --locked --no-default-features --features=native-tls
215215
```
216216

217217
The binary will be available in the `target/release` directory. You can move it in your `$PATH` to have the

0 commit comments

Comments
 (0)