Instructor: We're going to create a ClojureScript command line app on Node the easy way with Lumo. The first thing we need to do is make sure we have Lumo installed. I'm using NPM to install it.
You can see that the NPM package is Lumo-cljs, but the executable that we get is just called Lumo. If you're interested in installing it in a different way, such as Homebrew or Docker, have a look at this web page. Now we're going to go to the program itself.
We're going to call our program Hello.cljs. The first thing we want to do in our script is use the environment to set Lumo as the interpreter for our script. Now comes the script itself. The program consists of this one line.
In ClojureScript, we invoke a function, in this case, print line, by setting it as the first item in a parenthesized list. The remaining items in the list, in this case, the single string Hello Node, are the arguments to the function.