When I type node -v
result: v.10.8.0
, npm -v
result: v 6.2.0.
and finally nodejs -v
result: v.6.14.2
. I read in other forum saying that node and nodejs are same. If it's true, did I installed two different version of node? Is there really a difference between nodejs and node or both are same.
Asked
Active
Viewed 54 times
1

Common Man
- 11
sudo snap refresh node --channel=name-of-channel
– karel Aug 15 '18 at 10:27sudo apt-get purge nodejs
and it got removed which I understood when I checked fornodejs -v
which returnedbash: /usr/bin/nodejs: No such file or directory
. – Common Man Aug 15 '18 at 10:51