title: Change default global installation directory for node.js modules in Windows?
body: <p>In my windows installation <code>PATH</code> includes <code>C:\Program Files\nodejs</code>, where executable <code>node.exe</code> is. I'm able to launch <code>node</code> from the shell, as well as <code>npm</code>. I'd like new executables to be installed in <code>C:\Program Files\nodejs</code> as well, but it seems impossible to achieve.</p>
  
  <p>Setting <code>NODE_PATH</code> and <code>NODE_MODULES</code> variables doesn't change anything: things are still installed in <code>%appdata%\npm</code> by default.</p>
  
  <p>How can I change the global installation path?</p>