Install NodeJS on Endless OS

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

5 Likes

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

1 Like