For example, if have Node installed, you can use cljs.main to launch a Node-based REPL by supplying -re node : Running this will automatically compile our namespace, launch Node, and execute our -main , passing our command line argument 5 , thus causing it to print 25 . node main.js 5