mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 09:56:19 +04:00
62d181de78
These changes provide a new feature flag "embed_runtime" that when enabled and built in release mode will embed the runtime folder into the resulting binary.
1.2 KiB
1.2 KiB
Installation
We provide pre-built binaries on the GitHub Releases page.
OSX
TODO: brew tap
Please use a pre-built binary release for the time being.
Linux
NixOS
A flake containing the package is available in the project root. The flake can also be used to spin up a reproducible development shell for working on Helix.
Arch Linux
Binary packages are available on AUR:
Build from source
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.
If you want to bake the runtime/
directory into the Helix binary you can build
it with:
cargo install --path helix-term --features "embed_runtime"