Node.js is very popular and is available in all popular platforms including
Ubuntu. It is also very fast-moving and some
Linux distributions including
Ubuntu for example does not provide the latest version of
Node.js in their application repository.
If you require the latest or specific version of
Node.js, you can install from
Install Ubuntu's officially supported Node.js:
$ sudo apt update
$ sudo apt install --assume-yes nodejs
$ sudo apt install --assume-yes npm
$ nodejs -v v8.10.0 $ npm -v 3.5.2
Share your thoughts, suggest corrections or just say Hi. Login not required.