入门

1. 安装全局 gulp :

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

2. 在项目开发依赖中安装 gulp:

$ npm install --save-dev gulp

3. 在根目录创建 gulpfile.js:

var gulp = require('gulp');

gulp.task('default', function() {
  // place code for your default task here
});

4. 运行 gulp:

$ 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.

.src, .watch, .dest, CLI 参数 - 如何使用这些东西?

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.