diff options
Diffstat (limited to 'book/src/install.md')
-rw-r--r-- | book/src/install.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/book/src/install.md b/book/src/install.md index 8b7d8fa2..db42509c 100644 --- a/book/src/install.md +++ b/book/src/install.md @@ -44,7 +44,7 @@ sudo dnf install helix ## Build from source ``` -git clone --recurse-submodules --shallow-submodules -j8 https://github.com/helix-editor/helix +git clone https://github.com/helix-editor/helix cd helix cargo install --path helix-term ``` @@ -54,3 +54,9 @@ This will install the `hx` binary to `$HOME/.cargo/bin`. Helix also needs it's runtime files so make sure to copy/symlink the `runtime/` directory into the config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overriden via the `HELIX_RUNTIME` environment variable. + +## Building tree-sitter grammars + +Tree-sitter grammars must be fetched and compiled if not pre-packaged. +Fetch grammars with `hx --fetch-grammars` (requires `git`) and compile them +with `hx --build-grammars` (requires a C compiler). |