- download lumo, add it to
PATH
and make it executable (on a Mac as simple asbrew install lumo
but I think you can also usenpm install -g lumo
to achieve the same thing) mkdir my-project && cd my-project
npm install request request-promise
touch core.cljs
- use your favourite editor to edit
core.cljs
(ns my-project.core)
(require '[request-promise :as rp])
(-> (rp "http://www.google.com")
(.then println))
- save and execute with
lumo core.cljs