Skip to content

Commit

Permalink
docs: Update installation.md to use --locked (#2284)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenroose authored Aug 24, 2023
1 parent 9ae7d15 commit 49b56c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/documentation/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,14 @@ From a terminal, you can now run the following commands:
```sh
$ git clone https://github.com/getzola/zola.git
$ cd zola
$ cargo install --path .
$ cargo install --path . --locked
$ zola --version
```

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:

```sh
$ cargo build --release --no-default-features --features=native-tls
$ cargo build --release --locked --no-default-features --features=native-tls
```

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

0 comments on commit 49b56c3

Please sign in to comment.