Install NodeJS on Endless OS


#1

Install nvm

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash

Run

command -v nvm

then close your current terminal and open a new terminal.

Install latest node

nvm install node

or install LTS node

nvm install --lts

https://assets.gitlab-static.net/cho2/blog-images/raw/master/2017-12-14/node.png
Node LTS on Endless

https://assets.gitlab-static.net/cho2/blog-images/raw/master/2017-12-14/cordova.png
Cordova on Endless with npm install -g cordova


#2

Open terminal:
wget -qO- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
Close the actual terminal, open new:
nvm install node -lts
npm -v
node -v


Developer tools
closed #3