Ubuntu: Could not upgrade the latest node version using Ubuntu



Question:

I need to upgrade the node.js version in my ubuntu machine but after doing it also its also showing the old version. I am explaining my command below.

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

Previously my version was v6.9.1 . I run the above command in terminal to upgrade the latest version but after successfully installing its still showing v6.9.1 when I am doing node -v in my terminal. Here I need to upgrade to the latest version.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »