@@ -99,6 +99,14 @@ cargo install --path helix-term --locked
9999
100100This will install the `hx` binary to `$HOME/.cargo/bin` and build tree-sitter grammars in `./runtime/grammars`.
101101
102+If you are using the musl-libc instead of glibc the following environment variable must be set during the build
103+to ensure tree sitter grammars can be loaded correctly:
104+
105+```
106+RUSTFLAGS="-C target-feature=-crt-static"
107+```
108+
109+
102110Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the
103111config directory (for example `~/.config/helix/runtime` on Linux/macOS). This location can be overridden
104112via the `HELIX_RUNTIME` environment variable.