0

I wanted to download the latest version of nodejs(v10.15.3) but installing with the terminal states "v10.15.2" as the latest which is giving me issues.

Anyway I downloaded the file "node-v10.15.3.tar.gz" from the official node.js websitehttps://nodejs.org/en/. The problem is I don't know how I install this version of node in my machine after I downloaded and extracted the file.

There isn't an apparent installation file and the readme.md file tells me to look at a file "BUILDING.MD" which I did not find in that folder.

1 Answers1

1

either download the linux binaries from this page: https://nodejs.org/en/download/

Direct link: https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.xz Just unpack them

you can also use the official nodesource distro packages using the instructions at https://github.com/nodesource/distributions/blob/master/README.md

# Using Ubuntu
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

which would be my prefered way to achieve this.