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
Post a Comment