Pre-built binaries are available for linux, macOS and Windows on the
This installation script works for linux and MacOS and can be used for quickly
installing or upgrading to the newest clj-kondo without a package manager. It
will install to
/usr/local/bin by default.
To download and execute the script:
curl -sLO https://raw.githubusercontent.com/clj-kondo/clj-kondo/master/script/install-clj-kondo
chmod +x install-clj-kondo
To install to a different directory, append the option
--dir <dir> to the
above command. To download to a different directory, append the option
--download-dir <dir>. To install a specific version, use
To upgrade, just run the script again.
Repositories for various Linux distributions can be found
here for Arch and here for NixOS.
clj-kondo is available in the Arch User Repository. It can be installed using your favorite AUR helper such as
yay or paru. Here is an example using
yay -S clj-kondo-bin
clj-kondo is available in the
Nix Packages collection.
To install it globally, add it to your
systemPackages. If you just want to try it, you can do it in a Nix shell:
nix-shell -p clj-kondo
On MacOS you can use brew. On Linux you can use
Homebrew on Linux.
To install with brew:
brew install borkdude/brew/clj-kondo
brew upgrade clj-kondo
A Windows binary version of
clj-kondo.exe is available via this scoop bucket which also has several other Clojure tools for Windows:
scoop bucket add scoop-clojure https://github.com/littleli/scoop-clojure
scoop install clj-kondo
scoop update clj-kondo
Can you improve this documentation? These fine people already did:
Michiel Borkent, Thiru, Jakub Wilk, Avi Flax @ Latacora, Rawr, Robert Stuttaford, Daniel Ziltener, Egg Syntax, José Luis Lafuente, Gabriel Horner & David HarriganEdit on GitHub