title: nvm alias default Node.js version is not persisting
body: <p>Something with my NVM is not behaving correctly. I am currently on 6.0.0 on my machine and just installed 8.0.0. I want to use 8 as the default version. I run:</p>
  <pre class="lang-none prettyprint-override"><code>nvm alias default node
  </code></pre>
  <p>And I've also tried <code>nvm alias default 8.0.0</code>.</p>
  <p>But when I check the version, all I get is <code>v6.0.0</code>.</p>
  <p>This happens if I open a new shell tab, stay in the current tab, or kill the terminal and start from scratch.</p>
  <p>Strangely, 6.0.0 is not even on my list of versions:</p>
  <pre class="lang-none prettyprint-override"><code>nvm list
           v8.0.0
  -&gt;       system
  default -&gt; node (-&gt; v8.0.0)
  node -&gt; stable (-&gt; v8.0.0) (default)
  stable -&gt; 8.0 (-&gt; v8.0.0) (default)
  iojs -&gt; N/A (default)
  lts/* -&gt; lts/carbon (-&gt; N/A)
  lts/argon -&gt; v4.8.7 (-&gt; N/A)
  lts/boron -&gt; v6.12.3 (-&gt; N/A)
  lts/carbon -&gt; v8.9.4 (-&gt; N/A)
  </code></pre>
  <p>I really have no idea what is going on here. I feel like my Bash profile must have gotten really screwed up somehow, but I'm just at a loss.</p>
  <p>My <a href="https://en.wikipedia.org/wiki/Bash_(Unix_shell)#Legacy-compatible_Bash_startup_example" rel="nofollow noreferrer">.bash_profile</a> file does contain this:</p>
  <pre><code>export NVM_DIR=&quot;$HOME/.nvm&quot;
  [ -s &quot;$NVM_DIR/nvm.sh&quot; ] &amp;&amp; . &quot;$NVM_DIR/nvm.sh&quot; # This loads nvm
  </code></pre>
  <p>$PATH:</p>
  <pre class="lang-none prettyprint-override"><code>/Users/w/.nvm/versions/node/v8.0.0/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Users/w/.rbenv/shims:/Users/w/.rbenv/shims:/Applications/Postgres.app/Contents/Versions/latest/bin:/Users/w/local/node/bin:/usr/local/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/local/sbin:~/bin:/Users/w/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Users/w/.rbenv/shims:/Applications/Postgres.app/Contents/Versions/latest/bin:/Users/w/local/node/bin:/usr/local/heroku/bin:/usr/local/sbin:~/bin:/opt/ruby-enterprise-2.1.2-2010.02/bin:/opt/ruby-enterprise-2.1.2-2010.02/bin
  </code></pre>