I'm working with ubuntu 14.04 LTS version. I have nodejs 0.10.x version installed on my PC, now i bought nodejs v6.9.4, respect to this latest version i updated the $PATH variable, now
$node -v Giving v6.9.4, where as internally npm and node not identifying these latest version, it is saying when i try to update any of the packages
wanted: {"node":">=4.0.0"} (current: {"node":"0.12.7","npm":"2.11.3"})
How to update these versions globally?
Thanks & Regards,