
Sometimes, all you want to do is grab an npm package and execute a command with it, without having to install it (whether globally or as a dependency).
That's what you can do with pnpm dlx.
pnpm dlx vercel deploy
This example shows how to use the vercel CLI package without having to install it thanks to pnpm dlx.
In this example, pnpm downloads the vercel package, and executes it with the command deploy (that deploys a project to the Vercel platform).
create-vite, or create-vue)For starter kits, you can use pnpm create instead of pnpm dlx. For instance, executing pnpm create vue is equivalent to executing pnpm dlx create-vue.
A year of learning and sharing - Dev Retro 2022
Challenges and achievements of 2022
Manage multiple Node.js versions
pnpm env