# see https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories # First, you need to install the PPA in order to get access to its contents # curl -sL https://deb.nodesource.com/setup | sudo bash - curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - # then install nodejs sudo apt-get install nodejs # initialize a node.js project (creates package.json): node init