Syntax basics for the clojure programming language.
- Make sure the following tools are installed bash, curl, rlwrap and java. You can install them by running the following command:
sudo apt install curl rlwrap default-jdk
. - Download the clojure install script with the following command:
curl -O https://download.clojure.org/install/linux-install-1.10.1.492.sh
. - Make the script executable by running the chmod command:
chmod +x linux-install-1.10.1.492.sh
. - Execute the script to install clojure:
sudo ./linux-install-1.10.1.492.sh
.
If your using vs code you probably want to install the following extensions to speed up development:
- Run
clj -A:main
to execute the program.