Skip to content

Conversation

@cyyynthia
Copy link
Contributor

This adds a little tip on the installation page with a quick way to add pnpm store to the list of excluded folders in Microsoft Defender, which can significantly speedup installation speeds, from 5+ minutes to just a few seconds.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel
Copy link

vercel bot commented Jun 30, 2025

@cyyynthia is attempting to deploy a commit to the pnpm Team on Vercel.

A member of the Team first needs to authorize it.

Comment on lines 219 to 224
On Windows, Microsoft Defender can significantly slow down installation of packages. You can add pnpm to Microsoft Defender's list
of excluded folders in a PowerShell window with administrator rights by executing:

```powershell
Add-MpPreference -ExclusionPath $(pnpm store path)
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just put this to the windows section as regular paragraph.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. I was unsure, since excluding pnpm from Microsoft Defender concerns all install methods and the Windows section is specific to installation via a pwsh command but I guess it's also quite visible as it's the first thing people see.

@zkochan zkochan merged commit 759319e into pnpm:main Sep 28, 2025
1 check failed
@cyyynthia cyyynthia deleted the patch-4 branch September 29, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants