Skip to content

Commit

Permalink
Update the cargo installation instructions to include --locked (helix…
Browse files Browse the repository at this point in the history
  • Loading branch information
trink authored Jan 7, 2023
1 parent 6ae092a commit 95d4fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ If you would like to build from source:
```shell
git clone https://github.com/helix-editor/helix
cd helix
cargo install --path helix-term
cargo install --locked --path helix-term
```

This will install the `hx` binary to `$HOME/.cargo/bin` and build tree-sitter grammars in `./runtime/grammars`.
Expand Down Expand Up @@ -84,7 +84,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 --locked --path helix-term`,
> tree-sitter grammars will be built in `$HELIX_RUNTIME/grammars`.
If you plan on keeping the repo locally, an alternative to copying/symlinking
Expand Down

0 comments on commit 95d4fdc

Please sign in to comment.