Building Emacs 31 with Tree-Sitter Support on MacOS
Written
These are quick instructions for downloading and building Emacs from source with tree-sitter support enabled on MacOS. The process was just complicated enough that I wanted to document it for myself in the future.
brew install tree-sitter
git clone git://git.git.savannah.gnu.org/emacs.git
cd emacs/
git switch emacs-31
./autogen.sh
./configure --with-tree-sitter
make
make install
cp -r nextstep/Emacs.app /Applications/Emacs.app