Running a Clojure project created with CLI tools or
clj-new may require you to pass in an alias for the REPL to pick up the right libraries.
A few days ago I created a new ClojureScript and reagent project, using the Clojure CLI tools and
clj-new project creation tool, which converts Leiningen and Boot templates into a deps.edn based project. Unfortunately when I created a project from the fighwheel-main template the REPL failed to run from CIDER using
cider-jack-in-cljs, saying that figwheel-main was not found. All that was required was to specify the
:fig alias when running a REPL.
This article covers two approaches to running Clojure CLI projects from CIDER jack-in that require setting of an alias or multiple aliases e.g.
See Getting started with Clojure CLI tools for background to this article.