Liking cljdoc? Tell your friends :D

Installation

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

Script

sudo bash < <(curl -s https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/install)

Nix

clojure-lsp is available in the nixpkgs:

nix-shell -p clojure-lsp

Arch Linux

clojure-lsp is available in the Arch User Repository. It can be installed using your favorite AUR helper such as yay, yaourt, apacman and pacaur. Here is an example using yay:

yay -S clojure-lsp-bin

Windows

clojure-lsp is available as a native executable in the Clojure Scoop bucket. You need to install Scoop if you don't have it already.

Issue following command to download the clojure-lsp executable.

scoop install clojure-lsp

Native binary (recommended)

clojure-lsp builds using GraalVM a native executable for each OS: Linux, MacOS and Windows.

Manually

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 java on your $PATH.
  • Grab the latest clojure-lsp from github LATEST
  • Place it in your $PATH with a chmod 755

Can you improve this documentation? These fine people already did:
Eric Dallo, wdullaer & David Harrigan
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close