This site runs best with JavaScript enabled.

PNPM: Performant npm installations

Kevin Beck

December 04, 2019

"PNPM uses hard links and symlinks to save one version of a module only ever once on a disk." -

Having used NPM in my build setup for the last few years many of my projects have a /node_module folder. Each project has practically the same contents in this folder taking up countless MB of space.

PNPM is very easy to set up, especially if you have been using NPM.

Simply run:

pnpm install

This creates a PNPM.lock file and does all the symlinks for you. I have only used PNPM on two projects so far and the only issue I found was the install (Resolving) took a while longer than NPM (but that might be as I was running it on an older MAC Air).