Skip to content

Commit 759319e

Browse files
authored
docs: add tip about excluding pnpm in Microsoft Defender (#684)
* docs: add tip about excluding pnpm in Microsoft Defender * docs: move msft defender note
1 parent 02638a7 commit 759319e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/installation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ Using PowerShell:
2727
Invoke-WebRequest https://get.pnpm.io/install.ps1 -UseBasicParsing | Invoke-Expression
2828
```
2929

30+
On Windows, Microsoft Defender can significantly slow down installation of packages. You can add pnpm to Microsoft Defender's list
31+
of excluded folders in a PowerShell window with administrator rights by executing:
32+
33+
```powershell
34+
Add-MpPreference -ExclusionPath $(pnpm store path)
35+
```
36+
3037
### On POSIX systems
3138

3239
```sh

0 commit comments

Comments
 (0)