title: Attempting to install nvm on aws ubuntu instance
body: <p>I am using this command.</p>
  
  <p>nvm - curl -o- <a href="https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh" rel="nofollow noreferrer">https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh</a> | bash</p>
  
  <p>This is the error I get:
  No command 'nvm' found, did you mean:
   Command 'pvm' from package 'pvm' (universe)
   etc.</p>
  
  <p>My .bashrc looks like this at the bottom:</p>
  
  <pre><code>export NVM_DIR="$HOME/.nvm"
  [ -s "$NVM_DIR/nvm.sh" ] &amp;&amp; \. "$NVM_DIR/nvm.sh"  # This loads nvm
  source ~/nvm/nvm.sh
  </code></pre>
  
  <p>And my .profile looks like this:</p>
  
  <pre><code># set PATH so it includes user's private bin directories
  [[ -s $HOME/.nvm/nvm.sh ]] &amp;&amp; . $HOME/.nvm/nvm.sh
  source ~/.nvm/nvm.sh
  </code></pre>
  
  <p>node -v </p>
  
  <p>v6.10.2 </p>
  
  <p>What is the problem here?
  All help is appreciated.  I can provide more information if needed.</p>