title: npm command return message -g' is not recognized as an internal or external command
body: <p>I'm using Windows 8.1 64-bit and install npm with Windows Installer from nodejs.org. Every time i enter npm command, it always showing this message:
  'CALL &quot;C:\Program Files\nodejs\node.exe&quot; &quot;C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js&quot; prefix -g' is not recognized as an internal or external command, operable program or batch file.</p>
  <p><a href="https://stackoverflow.com/questions/38277910/error-while-running-npm-prefix-g-is-not-recognized-as-an-internal-or-external">Error while running npm “prefix -g is not recognized as an internal or external command”</a> not solving my problem</p>
  <p><strong>node -v</strong></p>
  <blockquote>
  <p>v6.10.0</p>
  </blockquote>
  <p><strong>npm -v</strong></p>
  <blockquote>
  <p>'CALL &quot;C:\Program Files\nodejs\node.exe&quot; &quot;C:\Program
  Files\nodejs\node_modules\npm\bin\npm-cli.js&quot; prefix -g' is not
  recognized as an internal or external command, operable program or
  batch file.</p>
  <p>3.10.10</p>
  </blockquote>
  <p><strong>npm config get registry</strong></p>
  <blockquote>
  <p>'CALL &quot;C:\Program Files\nodejs\node.exe&quot; &quot;C:\Program
  Files\nodejs\node_modules\npm\bin\npm-cli.js&quot; prefix -g' is not
  recognized as an internal or external command, operable program or
  batch file.</p>
  <p><a href="https://registry.npmjs.org/" rel="nofollow noreferrer">https://registry.npmjs.org/</a></p>
  </blockquote>