title: Using gulp without global gulp //edit: and without linking to the bin js file
body: <p>I have a gulpfile.js that runs through perfectly when typing <code>gulp</code> into the commandline.</p>
  
  <p>All the <code>gulp</code> bash command really does is calling the specified js file in <code>package.json &gt;&gt; bin &gt;&gt; gulp</code> of the globally installed gulp.</p>
  
  <p>Now I want to run the gulpfile without the globally installed gulp by simply typing <code>node gulpfile.js</code> which fails obviously and already has been mentioned quite often, despite gulp being installed locally and required at the beginning of the <code>gulpfile.js</code></p>
  
  <p>Using gulp without the cli tool would make it possible to use gulp as part of other npm plugins very easily.</p>
  
  <p><strong>Note:</strong><br>
  Requiring another gulpfile.js works from an original gulpfile.js when this original gulpfile.js has been started via the gulp cli tool.</p>
  
  <p><strong>Question:</strong><br>
  What is the best way of running/requiring gulp without the need for the global cli gulp tool (//edit: or linking to it locally)? e.g. being able to simply require it from another js file when gulp is only a locally installed dependency. (in other words starting gulp programmatically from inside JS without CLI intervention of any kind)</p>