#15767·helix

Failed to fetch tree-sitter grammars during install

Author: lyskovCreated May 20, 2026Updated Sep 26, 2026
LabelsC-bug

Summary

Attempt to follow install instructions from https://docs.helix-editor.com/building-from-source.html lead to a "Failed to fetch tree-sitter grammars" error

Reproduction Steps

On Ubuntu-26.04 with Rust and C++ tool chain installed:

bash
cargo install --path helix-term --locked
...
Compiling gix-diff v0.60.0
error: failed to run custom build command for `helix-term v25.7.1 (/home/USER/src/helix/helix-term)`

Caused by:
  process didn't exit successfully: `/home/USER/src/helix/target/release/build/helix-term-c8506313a414ed2a/build-script-build` (exit status: 101)
  --- stdout
  Fetching 291 grammars
  290 up to date git grammars
  Failure 1/1: hare Git command failed.
  Stdout:
  Stderr: error: Server does not allow request for unadvertised object 07035a248943575444aa0b893ffe306e1444c0ab


  --- stderr

  thread 'main' panicked at helix-term/build.rs:5:26:
  Failed to fetch tree-sitter grammars: 1 grammars failed to fetch
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `helix-term v25.7.1 (/home/USER/src/helix/helix-term)`, intermediate artifacts can be found at `/home/USER/src/helix/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Helix log

No response

Platform

Linux

Terminal Emulator

iTerm2

Installation Method

source

Helix Version

8c41b11607924f7584b77c8a6e6b16439a2f559f