DEV Community

Mrhili Mohamed Amine
Mrhili Mohamed Amine

Posted on

What is pnpm?

PNPM try to be fast and use symlink for duplicated files so try it

The fastest way to install pnpm is to have node.js version >=16.10

to do the easiest command:

corepack enable
Enter fullscreen mode Exit fullscreen mode

if less

npm i -g corepack
Enter fullscreen mode Exit fullscreen mode

if those command dont work and you are in windows use this command in powershell :

iwr https://get.pnpm.io/install.ps1 -useb | iex
Enter fullscreen mode Exit fullscreen mode

in macOS or linux using curl or wget , youre choice:

wget -qO- https://get.pnpm.io/install.sh | sh -
Enter fullscreen mode Exit fullscreen mode
curl -fsSL https://get.pnpm.io/install.sh | sh -
Enter fullscreen mode Exit fullscreen mode

Top comments (0)