There are many ways of setting up a C compiler for Tree-sitter on Windows 11, but this is one such way.
Install Visual Studio Build Tools 2026 using winget install Microsoft.VisualStudio.BuildTools. Run the Visual Studio Installer, which you will find in the Start menu.
On the left, select Desktop development with C++. After selecting it, the right hand panel will list optional components you can install, from which select C++ Clang tools for Windows.