From 38d808efdb6b09b04b40c3b0047f924c27660561 Mon Sep 17 00:00:00 2001 From: Joseph Anthony Pasquale Holsten Date: Sat, 29 Apr 2023 12:32:14 -0700 Subject: [PATCH] installation.md: add FreeBSD --- installation.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/installation.md b/installation.md index c189e4d..20b2513 100644 --- a/installation.md +++ b/installation.md @@ -58,6 +58,19 @@ sudo update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-12 100 +
+FreeBSD +Installing a `llvm` package will give you a recent version. + +To install a packaged release (12.0): + +```bash +sudo pkg install llvm12 +``` + +This will install clangd as `/usr/local/bin/clangd12`. +
+
Other systems Most distributions include clangd in a `clangd` package, in a `clang-tools`