How to install latest NodeJS on Ubuntu???

Open SSH and type

$ sudo apt-get update
$ sudo apt-get install nodejs
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

 

You have NodeJS v 8.x 🙂

check it using:

node -v

One Reply to “How to install latest NodeJS on Ubuntu???”

Leave a Reply

Your email address will not be published. Required fields are marked *