Skip to content

Commit 71953b5

Browse files
ceremcemphated
authored andcommitted
Docs: Add npm init step to Getting Started (#1706)
1 parent b42acd9 commit 71953b5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/getting-started.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,19 @@ to make sure your old version doesn't collide with gulp-cli.__
99
$ npm install --global gulp-cli
1010
```
1111

12-
#### 2. Install gulp in your project devDependencies:
12+
#### 2. Initialize your project directory:
13+
14+
```sh
15+
$ npm init
16+
```
17+
18+
#### 3. Install gulp in your project devDependencies:
1319

1420
```sh
1521
$ npm install --save-dev gulp
1622
```
1723

18-
#### 3. Create a `gulpfile.js` at the root of your project:
24+
#### 4. Create a `gulpfile.js` at the root of your project:
1925

2026
```js
2127
var gulp = require('gulp');
@@ -25,7 +31,7 @@ gulp.task('default', function() {
2531
});
2632
```
2733

28-
#### 4. Run gulp:
34+
#### 5. Run gulp:
2935

3036
```sh
3137
$ gulp

0 commit comments

Comments
 (0)