On MacOS you can use brew. On Linux you can use Linuxbrew.
To install with brew:
brew install borkdude/brew/clj-kondo
To upgrade:
brew upgrade clj-kondo
To install clj-kondo on Windows you can use scoop:
scoop bucket add borkdude https://github.com/borkdude/scoop-bucket
scoop install clj-kondo
To upgrade:
scoop update clj-kondo
Ths 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,
e.g. in CI. It will install to /usr/local/bin
by default, but you can override
this location with the --dir
option.
To download and execute the script:
curl -sO https://raw.githubusercontent.com/borkdude/clj-kondo/master/script/install-clj-kondo
chmod +x install-clj-kondo
./install-clj-kondo
or
./install-clj-kondo --dir /tmp
To upgrade, just run the script again.
Pre-built binaries are available for linux, MacOS and Windows on the releases page.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close