

i have installed nodejs from nodejs website.
when i typed
node -v
It gives me the version as
6.11.2
But when i type
npm -v it doesnt gives me any results. I have done reinstalling nodejs several times.
my installation path is
C:\Program Files\nodejs
any help?


C:\Program Files\nodejs\bin. Try adding\binwhich npm.*at a command prompt in windows 10 to see what is found on your path that matches that. It's possible you have a bogus npm.exe or npm.cmd that needs to be manually cleaned up.