Search code examples
emacsclojureclojurescriptread-eval-print-loopcider

Clojure - start a REPL without a project.clj


I started using Clojure with leiningen (and now boot).

Now I sometimes want to get quickly to a Clojure{Script} CIDER REPL in Emacs to execute just a few instructions. I don't want to create a project.clj file for that, since I just want a throwaway REPL.

Is there a way to get a Clojure REPL, for instance in the *scratch* buffer ?


Solution

  • well, you can execute M-x cider-jack-in anywhere you want, even with no project.clj in path. This works for me.