title: How to correctly configure Windows PATH environment variable for Node.js
body: <p>I have installed globally the <em>nodemon</em> module (version 1.11.0).</p>
  
  <p>The installation was successful and the package exists in the global modules list, but the <em>nodemon</em> command returns the following error in Powershell:</p>
  
  <pre><code>nodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program.
  Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  At line:1 char:1
  + nodemon
  + ~~~~~~~
      + CategoryInfo          : ObjectNotFound: (nodemon:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  
  <p>This happens when I try to run commands from other globally installed modules, so It seems there is a path error.</p>
  
  <p>The user variable with name <em>PATH</em> has the value:</p>
  
  <pre><code>C:\Program Files\nodejs;C:\Users\Cal\AppData\Roaming\npm\node_modules;C:\Program Files\MongoDB\Server\3.4\bin
  </code></pre>
  
  <p>Is my diagnosis correct, and if so, where am I going wrong?</p>