title: How do I run grunt from a different folder than my root project
body: <p>Is there a way to tell grunt which grunt.js file to use?</p>
  
  <p>I have an <code>f:\a\b\tools</code> folder that contains <code>grunt.cmd, node.exe,...</code>,
  my actual web app with <code>GruntFile.js</code> and all the local <code>node_modules</code> is in <code>f:\a\c\my_app</code></p>
  
  <p>Running grunt from <code>a\c\my_app</code> works fine but trying to run grunt from some other folder say a does not seem to work. I am new to grunt and may be I am missing something obvious.</p>
  
  <pre><code>f:\a&gt;grunt --config c\GruntFile.js
  </code></pre>
  
  <blockquote>
    <p>grunt-cli: The grunt command line interface. (v0.1.6)</p>
    
    <p>Fatal error: Unable to find local grunt.</p>
    
    <p>If you're seeing this message, either a Gruntfile wasn't found or grunt hasn't been installed locally to your project. For more information about installing and configuring grunt, please see the Getting Started guide:</p>
  </blockquote>
  
  <p><a href="http://gruntjs.com/getting-started" rel="noreferrer">http://gruntjs.com/getting-started</a></p>