Skip to content

Commit

Permalink
fix(#86): fix the install command in npm@5 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
loatheb authored and NoahDragon committed Oct 14, 2017
1 parent 456bb1a commit 5c1d3df
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Expand Up @@ -10,11 +10,18 @@ Git deployer plugin for [Hexo].
$ npm install hexo-deployer-git --save
```

If you want to use the latest features of hexo-deployer-git, you may install it from github,
If you want to use the latest features of hexo-deployer-git, you may install it from github:

* for npm version under 4
``` bash
$ npm install git+git@github.com:hexojs/hexo-deployer-git.git --save
```

* for npm version 5
```bash
$ npm install git+ssh://git@github.com:hexojs/hexo-deployer-git.git --save
```

## Options

You can configure this plugin in `_config.yml`.
Expand Down

0 comments on commit 5c1d3df

Please sign in to comment.