---
title: "Comment by Seto on \"Switch from yarn / npm to pnpm\" | Hashnode"
description: "You mean: \"preinstall\": \"npx only-allow pnpm\""
url: "https://hashnode.com/posts/switch-from-yarn-npm-to-pnpm/63f96449b34aad626e445ab5/comment/66251f2981753736af9410ae"
---

[Discussion](https://hashnode.com/posts/switch-from-yarn-npm-to-pnpm/63f96449b34aad626e445ab5)

Comment [Switch from yarn / npm to pnpm](https://hashnode.com/posts/switch-from-yarn-npm-to-pnpm/63f96449b34aad626e445ab5)

[Seto](https://hashnode.com/@setoelkahfi)

[Apr 21, 2024](https://hashnode.com/posts/switch-from-yarn-npm-to-pnpm/63f96449b34aad626e445ab5/comment/66251f2981753736af9410ae)

You mean:

"preinstall": "npx only-allow pnpm"
