Question

How do I update my node version from 6.11.2 to v8+?

Posted October 15, 2017 12.7k views
Node.js

How do I update my node version from 6.11.2 to v8+? Any tutorial of it? I need help if not my thing won’t work…

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
6 answers

Try with command:

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

Ubuntu NodeJS 6.11.2 on 16.04

Hi,

I have had luck with using https://github.com/nodesource/distributions when upgrading on my CentOS box.

Michael

Thank you @besimhuskic1 , your solution works like a charm!

Worked for me to(Ubuntu 18.04.3). Nice!

Submit an Answer