20 November 2011

My Clojure Environment Setup

Mostly for my own personal future reference, here is how I setup my Clojure environment.


Emacs
  1. Install Emacs 24 (links to the binaries available here).
  2. Install the Emacs Starter Kit or the Emacs Prelude.
Leiningen
Based on instructions from Leiningen (github.com).
  1. Get the Leiningen batch script from https://raw.github.com/technomancy/leiningen/master/bin/lein.bat and edit it to fetch version 1.6.1.1 instead of 2.0.0-SNAPSHOT.
  2. Put lein.bat in a folder. Add that folder to your PATH.
  3. Download wget.exe and curl.exe and add them to your PATH.
  4. Run:
    lein self.install
Setting Up Emacs for Clojure
  1. Setup clojure-mode
  2. Setup swank-clojure
    1. Follow installation instructions from swank-clojure (github.com).
References

No comments: