# Gleam-mode requires 'tree-sitter'

**URL:** <https://erlangforums.com/t/gleam-mode-requires-tree-sitter/2427>\
**Category:** Gleam Forum\
**Tags:** gleam-questions\
**Created:** [March 3, 2023, 2:35pm UTC](https://erlangforums.com/t/gleam-mode-requires-tree-sitter/2427 "2023-03-03T14:35:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![etnt](https://erlangforums.com/user_avatar/erlangforums.com/etnt/32/892_2.png) [@etnt](https://erlangforums.com/u/etnt)\
**Post date:** [March 3, 2023, 2:35pm UTC](https://erlangforums.com/t/gleam-mode-requires-tree-sitter/2427/1 "2023-03-03T14:35:32Z")

</div>

Hi,  
I’m trying to get the gleam-mode (Emacs) to work.  
I followed the README which talks about tree-sitter as a requirement…  
So Emacs complains about: (file-missing Cannot open load file No such file or directory tree-sitter)  
and my question is how I install this tree-sitter requirement?

Cheers, Tobbe

---

<div class="post-metadata">

**Author:** ![etnt](https://erlangforums.com/user_avatar/erlangforums.com/etnt/32/892_2.png) [@etnt](https://erlangforums.com/u/etnt)\
**Post date:** [March 6, 2023, 8:51am UTC](https://erlangforums.com/t/gleam-mode-requires-tree-sitter/2427/2 "2023-03-06T08:51:12Z")

</div>

I installed tree-sitter, tree-sitter-lang and tree-sitter-indent according to: [Installation :: Emacs Tree-sitter](https://emacs-tree-sitter.github.io/installation/) then I got it to work (using Emacs 28).
