title: "nvm" command not recognized in new command line windows/tabs despite presence of "NVM_DIR" variable in both ~/.bashrc and ~/.bash_profile
body: <p>My colleague recently installed Node Version Manager on his Macbook using Homebrew, and ran the two commands suggested at the end of the install script:</p>
  
  <pre><code>export NVM_DIR=~/.nvm
  source $(brew --prefix nvm)/nvm.sh
  </code></pre>
  
  <p>Everything works fine in the terminal window in which the install took place, but if he opens up a new terminal window or even a new tab, he has to install NVM all over again.</p>
  
  <p>My level of command-line experience is relatively low (I don't know what I don't know), so I'm not sure where to start diagnosing the problem.  Suggestions are welcome.</p>