Created
February 27, 2021 15:16
-
-
Save jsmesami/d0a9d686831b7d996ec732dd42167f25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
LOCAL_BIN_DIR=~/.local/bin | |
BABASHKA_INSTALL=install | |
KONDO_INSTALL=install-clj-kondo | |
LSP_ARCHIVE=clojure-lsp-native-linux-amd64.zip | |
LSP_BIN=clojure-lsp | |
wget https://raw.githubusercontent.com/babashka/babashka/master/${BABASHKA_INSTALL}\ | |
&& chmod +x ${BABASHKA_INSTALL}\ | |
&& ./${BABASHKA_INSTALL} --dir ${LOCAL_BIN_DIR}\ | |
&& rm ${BABASHKA_INSTALL} | |
wget https://raw.githubusercontent.com/clj-kondo/clj-kondo/master/script/${KONDO_INSTALL}\ | |
&& chmod +x ${KONDO_INSTALL}\ | |
&& ./${KONDO_INSTALL} --dir ${LOCAL_BIN_DIR}\ | |
&& rm ${KONDO_INSTALL} | |
wget https://github.com/clojure-lsp/clojure-lsp/releases/latest/download/${LSP_ARCHIVE}\ | |
&& rm ${LOCAL_BIN_DIR}/${LSP_BIN} || true\ | |
&& unzip ${LSP_ARCHIVE} -d ${LOCAL_BIN_DIR}\ | |
&& rm ${LSP_ARCHIVE} | |
yarn global upgrade --latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment