A few days ago, I wrote about lein-try, a useful Leiningen plugin that let’s you start a REPL including any Clojure libraries you desire. Now, with the latest release the whole thing becomes even easier since you no longer have to provide the version number of those artifacts you want lein-try to offer you. Simply run it using:
$ lein try com.taoensso/nippy Retrieving com/taoensso/nippy/2.0.0/nippy-2.0.0.pom from clojars Retrieving expectations/expectations/1.4.49/expectations-1.4.49.pom from clojars ... nREPL server started on port 59952 REPL-y 0.2.0 Clojure 1.5.1 Docs: (doc function-name-here) (find-doc "part-of-name-here") Source: (source function-name-here) Javadoc: (javadoc java-object-or-class-here) Exit: Control+D or (exit) or (quit) user=> (require '[taoensso.nippy :as nippy]) nil
See here on how to install the plugin correctly.