Next: , Previous: , Up: Source Code with tree-sitter   [Contents][Index]


2.1.2 Setting up libtree-sitter

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/