Skip to content

Commit 523532b

Browse files
authored
README.md - better info about uninstall, manual uninstall (#143)
1 parent 7625657 commit 523532b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,14 @@ It causes errors for end users of your package
162162
> Uninstallation will remove all the existing git hooks.
163163
164164
```sh
165-
npm uninstall simple-git-hooks
165+
pnpm uninstall simple-git-hooks
166+
```
167+
168+
Note: It only works for some 3rd-party package managers e.g. pnpm. For **npm** - default node package manager - it isn't supported, see [documentation](https://docs.npmjs.com/cli/v11/using-npm/scripts#a-note-on-a-lack-of-npm-uninstall-scripts).
169+
You can uninstall hooks manually from your project root:
170+
171+
```sh
172+
node node_modules/simple-git-hooks/uninstall.js
166173
```
167174

168175
## Common issues

0 commit comments

Comments
 (0)