The following was done after reading http://clojure-doc.org/articles/tutorials/emacs.html
Download and place somewhere, say /opt/clojure-1.4.0
Add to $CLASSPATH:
export CLASSPATH=$CLASSPATH:/opt/clojure-1.4.0/clojure-1.4.0.jar
Get the lein script. Place in say /shell, chmod +x and run -- it will fetch leinuningen and install it in /.lein.
You can then use lein (starting the script).
https://github.com/liebke/cljr
(add-to-list 'load-path "~/.elisp") ;; ... ;; clojure (require 'clojure-mode) (require 'clojure-test-mode) (require 'nrepl)
You can now start nrepl with M-x nrepl-jack-in