title: Homebrew installs nvm but nvm can't be found afterwards?
body: <p>I'm using <code>homebrew</code> and <code>oh-my-zsh</code> on a fresh OSX 10.10.1 install. I got <code>nvm</code> via <code>homebrew</code> and then attempted to run it but says - <em>zsh: command not found: nvm</em></p>
  
  <p>Any idea what the problem is? I was able to install and use git just fine...</p>
  
  <p><img src="https://i.stack.imgur.com/9OyhP.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/dBjOx.png" alt="enter image description here"></p>
  
  <hr>
  
  <p><strong>UPDATED 9/20/2019</strong></p>
  
  <p>As stated by more recent answers from <a href="https://stackoverflow.com/users/7650430/darkpurple141">DarkPurple141</a> and <a href="https://stackoverflow.com/users/126126/elise-van-looij">Elise van Looij</a>. <code>nvm</code> doesn't appear to be compatible with <code>homebrew</code>. This is also stated in the official nvm-sh repo located <a href="https://github.com/nvm-sh/nvm#installation-and-update" rel="noreferrer">here</a>.</p>
  
  <blockquote>
    <p>Homebrew installation is not supported. If you have issues with
    homebrew-installed nvm, please brew uninstall it, and install it using
    the instructions below, before filing an issue.</p>
    
    <p>Note: If you're using zsh you can easily install nvm as a zsh plugin.
    Install zsh-nvm and run nvm upgrade to upgrade.</p>
  </blockquote>
  
  <p>The following steps should help:</p>
  
  <ol>
  <li>$ <code>brew uninstall nvm</code></li>
  <li>$ <code>brew cleanup</code> (just for good measure)</li>
  <li>$ <code>curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash</code></li>
  <li><p>Check that nvm was installed correctly by running $ <code>command -v nvm</code>. </p>
  
  <p>4.a If the response is anything other than $ <code>nvm</code>, add the following two lines to the ~/.bash-profile file:
      <code>export NVM_DIR=~/.nvm</code>
      <code>source ~/.nvm/nvm.sh</code>
  4.b Restart your computer (you can try closing Terminal and restarting it first)
  4.c $ <code>command -v nvm should now return</code>nvm`</p></li>
  <li><p>Now update Node.js with $ <code>nvm install --lts</code> </p></li>
  <li>Update npm: $ <code>nvm install-latest-npm</code></li>
  <li>$ <code>npm install --global mocha</code>. Finally, success! Well, for me and I hope for you too.</li>
  </ol>