A quick and dirty guide to setting up Clojure, Emacs, Slime, and Swank. Get git: $ sudo port install git-core # OSX with MacPorts $ sudo apt-get install git-core # Debian/Ubuntu Get ant: $ sudo port install apache-ant # OSX with MacPorts $ sudo apt-get install ant # Debian/Ubuntu Get maven: $ sudo port install maven2 # OSX with MacPorts $ sudo apt-get install maven2 # Debian/Ubuntu Set up a git source directory: $ mkdir ~/git Get clojure: $ cd ~/git $ git clone git://github.com/richhickey/clojure.git $ cd clojure $ ant Get clojure-contrib: $ cd ~/git $ git clone git://github.com/richhickey/clojure-contrib.git $ cd clojure-contrib $ mvn package Get clojure-mode: $ cd ~/git $ git clone git://github.com/jochu/clojure-mode.git Get slime: $ cd ~/git $ git clone git://git.boinkor.net/slime.git Get swank-clojure: $ cd ~/git $ git clone git://github.com/jochu/swank-clojure.git Update your .emacs: ;; Clojure Run emacs: $ emacs test.clj M-x slime ; Wait for slime to invoke and connect to the clojure REPL Enjoy! |