When using npm, if you have 100 projects using a dependency, you will have 100 copies of that dependency saved on disk. With pnpm, the dependency will be stored in a content-addressable store, so:
As a result, you save a lot of space on your disk proportional to the number of projects and dependencies, and you have a lot faster installations!
Please refer to their docs for installation instructions.