node.js - NPM Command Not Found -


i updated node (through nodejs.org package installer) , npm won't work.

npm: command not found

any idea what's going on?

i hung on too. installed node via nvm , not run npm or node. had run nvm use 0.10.10

then which node , which npm worked again.

if have installed npm via nvm might want add nvm use <version> .bashrc file you'll have npm available on shell open. need remember update whenever update npm, or use stable.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -