Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installation of cider-nrepl

Tags:

I've installed CIDER 0.7.0 and now when I start it inside of Emacs (via M-x cider-jack-in RET), I get the following warning:

WARNING: CIDER's version (0.7.0) does not match cider-nrepl's version (not installed)

I've downloaded cider-nrepl and found out that it consists of closure code, not emacs lisp code. Since I've started exploring Clojure world just today, and there is no installation instructions on the project page, could you tell me how can I install cider-nrepl?

like image 957
Mark Karpov Avatar asked Aug 20 '14 07:08

Mark Karpov


People also ask

How do you install cider?

The canonical way to install CIDER is via package. el (Emacs's built-in package manager), but it can be installed manually or via alternative package managers such as el-get .

What is cider nREPL?

Overview. cider-nrepl aims to extend the base functionality of an nREPL server to cater to the needs of Clojure(Script) programming environments. It provides nREPL ops for common operations like: code completion. source and documentation lookup.

What is cider Clojure?

CIDER is the Clojure(Script) Interactive Development Environment that Rocks! CIDER extends Emacs with support for interactive programming in Clojure. The features are centered around cider-mode, an Emacs minor-mode that complements clojure-mode.


1 Answers

You need to put it into lein project.clj or into global lein configuration. Excerpt from official documentation:

Use the convenient plugin for defaults, either in your project's project.clj file or in the :user profile in ~/.lein/profiles.clj.

:plugins [[cider/cider-nrepl "0.7.0"]]

A minimal profiles.clj for CIDER would be:

{:user {:plugins [[cider/cider-nrepl "0.7.0"]]}}
like image 103
Alex Ott Avatar answered Oct 30 '22 09:10

Alex Ott