Skip to content

Commit e9351c0

Browse files
author
Mohamad Khajavi
authored
docs: add pnpm installation (#1139)
1 parent 19710f7 commit e9351c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Already using husky? See [Migrate from 4 to 7](/?id=migrate-from-v4-to-v7).
6464
npx husky-init && npm install # npm
6565
npx husky-init && yarn # Yarn 1
6666
yarn dlx husky-init --yarn2 && yarn # Yarn 2
67+
pnpm dlx husky-init && pnpm install # pnpm
6768
```
6869

6970
It will setup husky, modify `package.json` and create a sample `pre-commit` hook that you can edit. By default, it will run `npm test` when you commit.

0 commit comments

Comments
 (0)