If you have previously installed a version of gulp globally, please run npm rm --global gulp
to make sure your old version doesn't collide with gulp-cli.
$ npm install --global gulp-cli
$ npm install --save-dev gulp
var gulp = require('gulp');
gulp.task('default', function() {
// place code for your default task here
});
$ gulp
The default task will run and do nothing.
To run individual tasks, use gulp <task> <othertask>
.
You have an empty gulpfile and everything is installed. How do you REALLY get started? Check out the recipes and the list of articles for more information.
For API specific documentation you can check out the documentation for that.
The gulp community is growing, with new plugins being added daily. See the main website for a complete list.