Visual Studio 2015 Node.js tools npm version
<p>I would like to use the latest npm within Visual Studio 2015. I've installed Joyent Node from the Visual Studio installer. I understand one can install Node.js seperately but we seem to have issues with that so we are trying to do things the "Microsoft Way". I have also installed the Node.js Tools 1.1 for Visual Studio 2015. Within the node.js interactive window within Visual Studio, running .npm gives me the following:</p>

<pre><code>Specify configs in the ini-formatted file:
    C:\Users\MyUsername\.npmrc
or on the command line via: npm &lt;command&gt; --key value
Config info can be viewed via: npm help config
npm@2.7.4 C:\Program Files (x86)\nodejs\node_modules\npm
 successfully completed
</code></pre>

<p>However, if I use the "Node.js command prompt" and run:</p>

<pre><code>npm -g install npm 
</code></pre>

<p>It updates npm and running npm command I get the following:</p>

<pre><code>Specify configs in the ini-formatted file:
    C:\Users\MyUsername\.npmrc
or on the command line via: npm &lt;command&gt; --key value
Config info can be viewed via: npm help config

npm@3.8.0 C:\Users\MyUsername\AppData\Roaming\npm\node_modules\npm
</code></pre>

<p>If I got back to Visual Studio 2015 Node.js Interactive Window and run .npm, I see the version hasn't changed, even with a VS restart. However, I had a long filename issue as reported by other users and not had the issue so I believe that npm 3.8.0 is actually being used but I can't be sure. How can I get Visual Studio 2015 to use the latest npm so I can avoid the long file name problem? Does the Node.js Interactive Window have any relevance here?
Thanks!</p>