NodeJS

Aus Peter Fuerholz' Wiki
Zur Navigation springen Zur Suche springen

Install (see [NodeJS-HP]):

 curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
 sudo apt-get install -y nodejs
 sudo apt-get install -y build-essential
  1. produces error: sudo apt-get install -y npm

Then make sure to have newest npm installed ([npm blog]):

 sudo npm install npm -g

Seems no longer been necessary: Often other tools expect node instead of nodejs. For this create a link (See [this blog]): sudo ln -s /usr/bin/nodejs /usr/bin/node