title: How to upgrade nrepl version of leiningen?
body: <p>I'm using <code>leiningen</code> and <code>emacs</code> + <code>cider</code> for clojure development. A few days ago, after I upgrade <code>cider</code> through emacs package manager, I'm getting the following warning message when I run <code>M-x cider-connect</code> or <code>M-x cider-jack-in</code>.</p>
  
  <pre><code>; CIDER 0.9.0snapshot (package: 20150222.137) (Java 1.8.0_31, Clojure 1.6.0, nREPL 0.2.6)
  WARNING: CIDER requires nREPL 0.2.7 to work properly
  user&gt; 
  </code></pre>
  
  <p>The warning message clearly says that I have to upgrade nrepl to 0.2.7, however, I don't know how. </p>
  
  <p>I installed <code>leiningen</code> via <code>brew</code>, and it uses <code>nrepl 0.2.6</code>.</p>
  
  <pre><code>$ lein repl
  nREPL server started on port 53218 on host 127.0.0.1 - nrepl://127.0.0.1:53218
  REPL-y 0.3.5, nREPL 0.2.6
  Clojure 1.6.0
  Java HotSpot(TM) 64-Bit Server VM 1.8.0_31-b13
      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)
   Results: Stored in vars *1, *2, *3, an exception in *e
  
  user=&gt;
  </code></pre>
  
  <p>The content of leiningen profile is:</p>
  
  <pre><code>{:user {:plugins [[cider/cider-nrepl "0.9.0-SNAPSHOT"]]}}
  </code></pre>
  
  <p><strong>Question:</strong>: How to upgrade the version of nrepl used by leiningen?</p>