Skip to content

Commit 5c1d3df

Browse files
loathebNoahDragon
authored andcommitted
fix(#86): fix the install command in npm@5 (#89)
1 parent 456bb1a commit 5c1d3df

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@ Git deployer plugin for [Hexo].
1010
$ npm install hexo-deployer-git --save
1111
```
1212

13-
If you want to use the latest features of hexo-deployer-git, you may install it from github,
13+
If you want to use the latest features of hexo-deployer-git, you may install it from github:
14+
15+
* for npm version under 4
1416
``` bash
1517
$ npm install [email protected]:hexojs/hexo-deployer-git.git --save
1618
```
1719

20+
* for npm version 5
21+
```bash
22+
$ npm install git+ssh://[email protected]:hexojs/hexo-deployer-git.git --save
23+
```
24+
1825
## Options
1926

2027
You can configure this plugin in `_config.yml`.

0 commit comments

Comments
 (0)