-
Notifications
You must be signed in to change notification settings - Fork 30
Notes on installing Node.js on Ubuntu 16.04
Rainer Simon edited this page Jul 2, 2018
·
4 revisions
Entry point for this is here: How To Install Node.js on Ubuntu 16.04 (DigitalOcean)
$ sudo apt-get update
$ sudo apt-get install nodejs
$ sudo apt-get install npm
Then upgrade to the latest node version (see here):
$ sudo npm cache clean -f
$ sudo npm install -g n
$ sudo n stable
And upgrade npm to latest version (see here):
$ sudo npm install npm -g
Check versions using the following commands:
$ nodejs --version
$ npm --version
At the time of writing we use the following version:
- Node.js v4.2.6
- npm v6.1.0