title: how to setup grunt in webstorm on windows
body: <p>I am Using <em>Webstorm (PHPStorm)</em> on <em>Windows 7</em>. On the actual project we are using grunt to concatenate javascript and css and also for several other build processes.</p>
  
  <p>I tried to setup the grunt command as an external run command in Webstorm. The settings i tried for that are:</p>
  
  <pre><code>Name: grunt  
  Parameters: none  
  WorkingDirectory: $ProjectFileDir$
  </code></pre>
  
  <p>So now when I am trying to start my external run command in Webstorm, I always get the error</p>
  
  <pre><code>&gt; grunt
  Cannot run program "grunt" (in directory "C:\Users\jawidmer\workspaces\projectname"): CreateProcess error=2, The system cannot find the file specified
  </code></pre>
  
  <p>When I open my command line tool and navigate to the project folder, I can start grunt without any problems.</p>
  
  <p>I already searched in google and tried all kinds of different combinations of settings but non of them worked..</p>
  
  <p><em>Do you have any ideas, what I have to change to be able to start grunt from external run commands in Webstorm?</em></p>
  
  <p>Thanks
  Jan</p>