To install
by poe:
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo apt-get install -y wget
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-18 main"
sudo apt update
Now install freely. like:
sudo apt install clangd-18
This will install a bin file named clangd-18.
verified on 24.7.11, on wsl