0
I’m not able to update Node.js in Ubuntu.
I did the installation, but it appears that the version was installed:
Node = V8.10.0
Npm = v5.3.2
On the site it says that the latest version is 10.16, why was not installed the latest version? How to upgrade to the latest version?
I’ve followed several tutorials on the internet, none helped me to update.
I’m having trouble running an application of mine that I had done in windows. Now trying to run linux from these errors:
And how did the installation?
– Woss
Hello @Andersoncarloswoss I have followed the instructions of several sites, which I remember now, looking at these sites: (https://github.com/nodesource/distributions/blob/master/README.md) and (https://www.digitalocean.com/community/tutorials/como-instalar-o-node-js-no-ubuntu-16-04-pt) Thank you.
– Tiago
On the first link there are installation specifications for each version of Node. Which one used?
– Woss
@Andersoncarloswoss Node.js v12.x:
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
and thensudo apt-get install -y nodejs
– Tiago