What is difference between pnpm create, pnpx, dlx?

As of v7, pnpm dlx is the same as pnpx. It downloads a package and executes it.

pnpm create is a shorthand for pnpm dlx, when you need to create an app. So, for instance, pnpm create react-app my-app will download the create-react-app package and run it to bootstrap a react app. It is the same as running pnpm dlx create-react-app my-app.

There is also pnpm exec, which doesn’t download a package just runs a package that is already in node_modules/.bin

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)