Why hackers moved from npm to Yarn

1 hacker described this switch in public comments. Their words, with links to the originals.

npm 2 hackers criticize it
→
Yarn 1 hacker recommends it

What hackers said about the move

“I ditched npm for yarn years ago because it had saner dependency resolution (npm's peer dependency algorithm was a constantly moving target)”
chuckadams, 2026-05-11original comment ↗

Use npm? Get alerted when hackers criticize it.

Tell us the tools in your stack. When hackers start criticizing one of them, or moving to an alternative, you will hear about it first.

npm vs Yarn

npmYarn
Hackers who recommend01
Hackers who criticize20
Moved away from it11
Moved to it01

Counts are distinct hackers in the sampled comments, not market share.

Criticism of npm

“I suspect it’ll eventually go the npm path and just end up being MoQ means MoQ.”
mmcclure, 2026-04-26original comment ↗

Praise for Yarn

No further praise for Yarn captured yet.