I installed nodejs on ubuntu from instructions given here
When I write node --version in the terminal I see this : -bash: /usr/sbin/node: No
node --version
-bash: /usr/sbin/node: No
It's optional to remove the existing node and nodejs, but have to do alternatively install the latest 7.x nodejs.
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt-get install -y nodejs