title: How to set $NODE_PATH when using nvm?
body: <p>I have installed node in my <code>ubuntu</code> system using <code>nvm</code>. It has been working smoothly until now, but one of my project neds $NODE_PATH set and <code>nvm</code> isn't setting it.</p>
  
  <p>I would manually set it but I use multiple version of node. What is the best way to solve this.</p>
  
  <p>I get following results from terminal commands</p>
  
  <pre><code>node -v
  v8.9.1
  
  npm -v
  5.5.1
  
  which node
  /home/username/.nvm/versions/node/v8.9.1/bin/node
  
  echo $NODE_PATH
  [nothing]
  
  nvm --version
  0.33.6
  
  nvm ls
  -&gt;       v8.9.1
           v9.0.0
  default -&gt; v8.9.1
  six -&gt; lts/boron (-&gt; N/A)
  node -&gt; stable (-&gt; v9.0.0) (default)
  stable -&gt; 9.0 (-&gt; v9.0.0) (default)
  iojs -&gt; N/A (default)
  lts/* -&gt; lts/carbon (-&gt; v8.9.1)
  lts/argon -&gt; v4.8.6 (-&gt; N/A)
  lts/boron -&gt; v6.12.0 (-&gt; N/A)
  lts/carbon -&gt; v8.9.1
  </code></pre>
  
  <p>I have read other similar questions and answers there didn't help. I have already tried commands like </p>
  
  <pre><code>nvm use 8.9.1
  
  nvm alias default 8.9.1
  </code></pre>
  
  <p>These commands do not solve it.</p>