Skip to content

Commit

Permalink
Docs: Add npm init step to Getting Started (#1706)
Browse files Browse the repository at this point in the history
  • Loading branch information
ceremcem authored and phated committed Jun 28, 2016
1 parent b42acd9 commit 71953b5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,19 @@ to make sure your old version doesn't collide with gulp-cli.__
$ npm install --global gulp-cli
```

#### 2. Install gulp in your project devDependencies:
#### 2. Initialize your project directory:

```sh
$ npm init
```

#### 3. Install gulp in your project devDependencies:

```sh
$ npm install --save-dev gulp
```

#### 3. Create a `gulpfile.js` at the root of your project:
#### 4. Create a `gulpfile.js` at the root of your project:

```js
var gulp = require('gulp');
Expand All @@ -25,7 +31,7 @@ gulp.task('default', function() {
});
```

#### 4. Run gulp:
#### 5. Run gulp:

```sh
$ gulp
Expand Down

0 comments on commit 71953b5

Please sign in to comment.