I am having trouble to install node.js
latest version on ubuntu 14.04. I am following the below steps.
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
But when I am checking the node version like node -v
its giving me the below error.
bash: /usr/sbin/node: No such file or directory
Here I need to install the node.js and npm
latest version on ubuntu 14.04.