Install Node.js 7 on Ubuntu 16.04 Xenial Xerus LTS
Here is how you install Node.js 7 on Ubuntu 16.04 Xenial Xerus LTS.
First we start the setup script:
1
|
curl –sL https://deb.nodesource.com/setup_7.x | sudo –E bash –
|
When finished, start the installation of Node.js by executing the following command:
1
|
sudo apt–get install –y nodejs
|
Now you should have Node.js 7 up and running.
You can test it with the following command:
1
|
node –v
|
Output should be (when writing this article):
1
|
v7.0.0
|
Have fun using Node.js 7 on Ubuntu 16.04 Xenial Xerus LTS!