book: Recommend '--locked' for cargo installs (#5438)
This commit is contained in:
parent
95d4fdc255
commit
a39a2ce9a8
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ pacman -S mingw-w64-ucrt-x86_64-helix
|
|||
```
|
||||
git clone https://github.com/helix-editor/helix
|
||||
cd helix
|
||||
cargo install --path helix-term
|
||||
cargo install --path helix-term --locked
|
||||
```
|
||||
|
||||
This will install the `hx` binary to `$HOME/.cargo/bin` and build tree-sitter grammars in `./runtime/grammars`.
|
||||
|
@ -127,7 +127,7 @@ mklink /D runtime "<helix-repo>\runtime"
|
|||
|
||||
The runtime location can be overridden via the `HELIX_RUNTIME` environment variable.
|
||||
|
||||
> NOTE: if `HELIX_RUNTIME` is set prior to calling `cargo install --path helix-term`,
|
||||
> NOTE: if `HELIX_RUNTIME` is set prior to calling `cargo install --path helix-term --locked`,
|
||||
> tree-sitter grammars will be built in `$HELIX_RUNTIME/grammars`.
|
||||
|
||||
If you plan on keeping the repo locally, an alternative to copying/symlinking
|
||||
|
|
Loading…
Add table
Reference in a new issue