Skip to content

Commit

Permalink
fix(#86): fix the install command in npm@5
Browse files Browse the repository at this point in the history
  • Loading branch information
loatheb committed Oct 13, 2017
1 parent 456bb1a commit 49507be
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
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 49507be

Please sign in to comment.