Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ccb71b2

Browse files
authoredDec 5, 2020
Update README.md
1 parent 3c43bd5 commit ccb71b2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ Husky can prevent bad `git commit`, `git push` and more 🐶 _woof!_
88

99
**Announcement: Husky v5 has been published, to view v5 docs click [here](https://typicode.github.io/husky).**
1010

11-
**Note for npm v7 users** Currently `INIT_CWD` environment variable is missing in npm v7 and is required for Husky v4 to auto-install (https://github.com/npm/cli/issues/2033). To manually install husky v4, run `INIT_CWD="$(pwd)" npm install husky --save-dev` or upgrade to [husky v5](https://typicode.github.io/husky/#/).
11+
**Note for npm v7 users** Currently `INIT_CWD` environment variable is missing in npm v7 and is required for Husky v4 to auto-install (https://github.com/npm/cli/issues/2033). To manually install husky v4, run
12+
```shell
13+
INIT_CWD="$(pwd)" npm install husky --save-dev
14+
```
15+
16+
Or upgrade to [husky v5](https://typicode.github.io/husky/#/).
1217

1318
## Install
1419

0 commit comments

Comments
 (0)
Please sign in to comment.