M HYPE SPLASH
// general

How to install clangd (not clang) on mac os

By Emma Valentine

I installed xcode, llvm, brew, and I have clang on my system but not clangd ..., I googled around and only find how install clang not clangd. I tried brew install clangd but not found clangd. I even tried to go through the docs of llvm and still could not find the answer...

4

2 Answers

After brew install llvm, my Mac provides

$ find /usr/local/ -name 'clangd'
/usr/local//Cellar/llvm/8.0.0_1/bin/clangd
/usr/local//Cellar/llvm/8.0.0_1/Toolchains/
1

Here is another related question you should see to set that up:

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy