From efa4560675cd046dbcd7eec48ca30ebe4b8c68d3 Mon Sep 17 00:00:00 2001 From: Morrow Shore <97566823+MorrowShore@users.noreply.github.com> Date: Thu, 30 Oct 2025 01:37:58 +0700 Subject: [PATCH 1/2] Update installation.md Hello. I'm not sure what is borked on your end, but currently there's a certificate problem which doesn't allow me (or my other devices on different ISPs) to use the setup script. This should forcefully fix it, as it has for me. Ty --- docs/installation.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index 4b18a8b297ea..2f0e9014f547 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -16,9 +16,24 @@ You may install pnpm even if you don't have Node.js installed, using the followi :::warning Sometimes, Windows Defender may block our executable if you install pnpm this way. - Due to this issue, we currently recommend installing pnpm using [npm](#using-npm) or [Corepack](#using-corepack) on Windows. +If you get the The underlying connection was closed: An unexpected error occurred on a send. error, create a .ps1 file with the following content and run it. +dd-type @" +using System.Net; +using System.Security.Cryptography.X509Certificates; +public class TrustAllCertsPolicy : ICertificatePolicy { + public bool CheckValidationResult( + ServicePoint srvPoint, X509Certificate certificate, + WebRequest request, int certificateProblem) { + return true; + } + } +"@ +[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy +Invoke-WebRequest https://get.pnpm.io/ + + ::: Using PowerShell: From 76deb7f0246b105f418a6c999812335d66b3136b Mon Sep 17 00:00:00 2001 From: Morrow Shore <97566823+MorrowShore@users.noreply.github.com> Date: Thu, 30 Oct 2025 01:42:03 +0700 Subject: [PATCH 2/2] Update installation.md --- docs/installation.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/installation.md b/docs/installation.md index 2f0e9014f547..507aac9cf24c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -19,7 +19,8 @@ Sometimes, Windows Defender may block our executable if you install pnpm this wa Due to this issue, we currently recommend installing pnpm using [npm](#using-npm) or [Corepack](#using-corepack) on Windows. If you get the The underlying connection was closed: An unexpected error occurred on a send. error, create a .ps1 file with the following content and run it. -dd-type @" +```powershell +add-type @" using System.Net; using System.Security.Cryptography.X509Certificates; public class TrustAllCertsPolicy : ICertificatePolicy { @@ -32,6 +33,7 @@ public class TrustAllCertsPolicy : ICertificatePolicy { "@ [System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy Invoke-WebRequest https://get.pnpm.io/ +``` :::