Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.