Next: Per-language Modules, Previous: Source Code with tree-sitter, Up: Source Code with tree-sitter [Contents][Index]
Clone the following repo: https://github.com/tree-sitter/tree-sitter.
Run the following from its base directory:
# From tree-sitter/
# sudo make all install can run to do both of the following.
make
# Move the shared object to a place where it can be found.
sudo mv libtree-sitter.so /usr/lib/
|