Installation or Setup
Note: If you’re going to use Leiningen, you first need to download and install JDK 6 or newer.
The easiest way to get started with Clojure is to download and install Leiningen, the de facto standard tool to manage Clojure projects.
curl https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein > ~/bin/lein export PATH=$PATH:~/bin chmod 755 ~/bin/lein lein
Follow Linux steps above or
Install with [Homebrew]:
brew install leiningen
Connecting to a REPL
Once you have
lein installed, execute
Start a new ClojureScript Project
lein new mies myproject cd myproject ./scripts/build
index.html in a Web Browser.
Look at the Console, and observe the following:
- David Nolen’s extraordinary work on ClojureScript.