---
title: "Discussion on \"Switch from yarn / npm to pnpm\" | Hashnode"
description: "Discussion on \"Switch from yarn / npm to pnpm\". If you’re looking for a faster alternative to package managers like npm and yarn, consider using pnpm. Not only is pnpm more performant when it comes to fet"
url: "https://hashnode.com/posts/switch-from-yarn-npm-to-pnpm/63f96449b34aad626e445ab5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Switch from yarn / npm to pnpm](https://denniscampos.hashnode.dev/switch-from-yarn-npm-to-pnpm?utm_source=hashnode&utm_medium=feed)

If you’re looking for a faster alternative to package managers like npm and yarn, consider using pnpm. Not only is pnpm more performant when it comes to fet

Feb 25, 2023 · 2 min read · denniscampos.hashnode.dev  
Read the article

-   [#npm](https://hashnode.com/tag/npm)
-   [#pnpm](https://hashnode.com/tag/pnpm)
-   [#dependencies](https://hashnode.com/tag/dependencies)
-   [#yarn](https://hashnode.com/tag/yarn)

## Written by

[Dennis Campos](https://hashnode.com/@dnbull)

@dnbull · Miami, FL

  
[View profile](https://hashnode.com/@dnbull)

Software Engineer

A full-time software engineer in the USA.

## Responses 1

Markdown supported · ⌘↵ to post

[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"
