diff options
author | Blaž Hrastnik | 2021-05-12 11:32:44 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-05-12 11:32:44 +0000 |
commit | bc99b61be2812d84f198c31fccbc56e989755574 (patch) | |
tree | bc8f0f43982a752555da44e5e922fa371587a1be /book/src/install.md | |
parent | 99c1c477e9797fca9403644d72455eb729849985 (diff) |
Update the book (keymaps).
Diffstat (limited to 'book/src/install.md')
-rw-r--r-- | book/src/install.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/book/src/install.md b/book/src/install.md index 48813bee..a125dd9c 100644 --- a/book/src/install.md +++ b/book/src/install.md @@ -1,6 +1,6 @@ # Installation -TODO: Prebuilt binaries on GitHub Releases page +We provide pre-built binaries on the [GitHub Releases page](https://github.com/helix-editor/helix/releases). ## OSX @@ -26,9 +26,13 @@ TODO: AUR ## Build from source ``` -$ git clone --depth 1 --recurse-submodules -j8 https://github.com/helix-editor/helix -$ cd helix -$ cargo install --path helix-term +git clone --recurse-submodules --shallow-submodules -j8 https://github.com/helix-editor/helix +cd helix +cargo install --path helix-term ``` This will install the `hx` binary to `$HOME/.cargo/bin`. + +Now copy the `runtime/` directory somewhere. Helix will by default look for the +runtime inside the same folder as the executable, but that can be overriden via +the `HELIX_RUNTIME` environment variable. |