Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to use npm (Node Package Manager) on my OSX Snow Leopard. npm is installed in /usr/local/bin/ It's in $PATH (set in .bashrc) but when I'm logged in as a general user it can't be found, even with 'which npm'. But when I switch to an admin account it can be found, but the $PATH is the same in both accounts. What could be the problem?

share|improve this question

1 Answer 1

This might be a silly question, but have you sourceed your .bashrc? It's a common thing that I often forget to do.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.