From 1ffe98f8959decafe3f0032d3e7e916c8f7dc77c Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Thu, 25 Feb 2021 12:40:11 -0700 Subject: [PATCH] docs: use npx vs. npm exec --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ca73f69..8aee5ff 100644 --- a/README.md +++ b/README.md @@ -9,20 +9,20 @@ While it should cover most basic migrations, it's __recommended__ to have a look If you're using using `npm` in your project: ```sh -npm exec -- github:typicode/husky-4-to-5 --package-manager npm +npx -- github:typicode/husky-4-to-5 --package-manager npm ``` If you're using using `yarn` in your project: ```sh -npm exec -- github:typicode/husky-4-to-5 --package-manager yarn +npx -- github:typicode/husky-4-to-5 --package-manager yarn ``` If you're using using `pnpm` in your project: ```sh -# Use npm exec, since pnpm doesn't yet support exec -npm exec -- github:typicode/husky-4-to-5 --package-manager pnpm +# Use npx, since pnpm doesn't yet support exec +npx -- github:typicode/husky-4-to-5 --package-manager pnpm ``` _Requires `npm 7`_