Below are all available
clojure-lsp installation methods, after installed, follow the documentation for your editor's language client. See Clients.
Homebrew (MacOS and Linux)#
We have a custom tap using the native compiled binaries for users that use homebrew:
brew remove clojure-lsp # if you have old clojure-lsp installed via brew brew install clojure-lsp/brew/clojure-lsp-native
sudo bash < <(curl -s https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/install)
clojure-lsp is available in the nixpkgs:
nix-shell -p clojure-lsp
yay -S clojure-lsp-bin
Issue following command to download the
scoop install clojure-lsp
Native binary (recommended)#
clojure-lsp builds using GraalVM a native executable for each OS: Linux, MacOS and Windows.
The binaries are available on Github releases as
clojure-lsp-native-<os>-<arch>.zip, after downloading you just need to unzip it.
Embedded jar (Legacy executable)#
In Github releases you will find a
clojure-lsp file that runs a embedded jar. This should be removed soon, use GraalVM binaries instead.
- You need
javaon your $PATH.
- Grab the latest
clojure-lspfrom github LATEST
- Place it in your $PATH with a chmod 755