ClojureScript

Building the compiler

Make sure you have Maven and at least Java 8 installed. If you don’t already have them, use a system specific package manager like apt-get or brew.

Checkout the git repository, switch into the checkout and run:

script/build

At the end of the build output you will see a line similar to the one below, but with different version numbers.

[INFO] Installing <...>/clojurescript/target/clojurescript-1.7.164-aot.jar to /Users/username/.m2/repository/org/clojure/clojurescript/1.7.164/clojurescript-1.7.164-aot.jar

This shows that ClojureScript 1.7.164 has been built, and is installed in your local Maven repo. To use it, specify your ClojureScript dependency as [org.clojure/clojurescript "1.7.164"] (but with the version number that you built).