title: 'npm' is not recognized as internal or external command, operable program or batch file
body: <p>I am completely new to nodejs. I am trying to get nodejs to work on my Windows 2008 box in order to install Karma which I would use for TDDing my AngularJs code. I have done the following steps so far</p>
  
  <ol>
  <li>Install using Chocolatey ==> npm is not recognised</li>
  <li>Install using 64-bit nodejs installer from nodejs.org ==> npm is not recognised</li>
  <li>At this stage, running <code>where npm</code> gives me <code>c:\User\&lt;Username&gt;\AppData\Roaming\npm</code> which has nothing in it</li>
  <li>I figure out that nodejs is installed in <code>C:\Program Files\nodejs</code>. Opening a command prompt in this directory makes <code>npm</code> work fine.</li>
  <li>So I added <code>C:\Program Files\nodejs</code> to <code>PATH</code> only to get the same error again that <code>npm is not recognized</code></li>
  <li>One of the github issues on nodejs repository says that I need to restart the machine and it would fix. But that has not helped so far</li>
  <li>I do see a <code>Node.js</code> icon in my <code>Start -&gt; Programms</code> mennu which takes me to nodejs console but not sure what to do with that. </li>
  </ol>
  
  <p>Have I missed any important step in the process?</p>
  
  <h2>Edit</h2>
  
  <p>I figured out that if I open "Nodejs command prompt" from program files, then npm is recognized. How do I make it work on a normal command prompt?</p>
  
  <h2>Edit</h2>
  
  <p>After <code>node</code> I started facing a similar problem with another application. I posted <a href="https://superuser.com/questions/699725/windows-2008-where-command-shows-correct-path-but-the-actual-command-does-no">this question</a> on superuser and as rightly pointed out by the accepted answer, I had an additional quote in my <code>PATH</code> which was causing issues with all the paths added after the quote. I have a feeling that some Chocolatey install adds this troubling quote but I am just not sure which one. </p>