on master help sign in
Update the cargo installation instructions to include --locked (#5443)
commit95d4fdc255cc880b5dbcb91851eb53ffe2cfce97 authorMike Trinkala <trink@acm.org> dateSat 7 Jan 2023, 13:42 (4 years ago) parent6ae092a
1 file changed+2−2
README.md+2−2
README.md+2−2
@@ -52,7 +52,7 @@ If you would like to build from source:
5252```shell
5353git clone https://github.com/helix-editor/helix
5454cd helix
55−cargo install --path helix-term
55+cargo install --locked --path helix-term
5656```
5757
5858This will install the `hx` binary to `$HOME/.cargo/bin` and build tree-sitter grammars in `./runtime/grammars`.
@@ -84,7 +84,7 @@ mklink /D runtime "<helix-repo>\runtime"
8484
8585The runtime location can be overridden via the `HELIX_RUNTIME` environment variable.
8686
87−> NOTE: if `HELIX_RUNTIME` is set prior to calling `cargo install --path helix-term`,
87+> NOTE: if `HELIX_RUNTIME` is set prior to calling `cargo install --locked --path helix-term`,
8888> tree-sitter grammars will be built in `$HELIX_RUNTIME/grammars`.
8989
9090If you plan on keeping the repo locally, an alternative to copying/symlinking