title: how to set specific version of node as default using n
body: <p>I've installed <code>node</code> using the <code>npm</code> by below commands.</p>
  
  <pre><code>  sudo npm cache clean -f
    sudo npm install -g n
    sudo n 8
  </code></pre>
  
  <p><code>sudo n 8</code> installed <code>node 8</code> .</p>
  
  <pre><code>$ sudo n 8
   install : node-v8.11.3
     mkdir : /usr/local/n/versions/node/8.11.3
     fetch : https://nodejs.org/dist/v8.11.3/node-v8.11.3-darwin-x64.tar.gz
     ######################################################################## 100.0%
    installed : v6.13.1
  </code></pre>
  
  <p>but didn't set it as default</p>
  
  <pre><code> $ node -v
   v6.13.1
  </code></pre>
  
  <p>How can I set node version 8 as default node version.</p>