Setting up Node.js on Ubuntu for ClojureScript REPL

December 29, 2014

David Nolen has some simple instructions on how to try out the new ClojureScript Node.js REPL. But, you have to have Node.js setup.

If you just want to try it on a fresh Ubuntu 14.04.1 LTS installation, here is what to install prior to running through David's instructions:

sudo apt-get install git unzip npm default-jre

Then you need to be able to run nodejs as node, and that can be accomplished via

sudo ln -s /usr/bin/nodejs /usr/bin/node

With this in place, you can successfully run through David's instructions.

Tags: ClojureScript