Jallot
Jallot2w ago

How to install on windows?

I follow the instructiions on website and get this error
PS C:\Users\quela> irm https://deno.land/install.ps1 | iex
irm : The underlying connection was closed: An unexpected error occurred on a send.
At line:1 char:1
+ irm https://deno.land/install.ps1 | iex
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
PS C:\Users\quela> irm https://deno.land/install.ps1 | iex
irm : The underlying connection was closed: An unexpected error occurred on a send.
At line:1 char:1
+ irm https://deno.land/install.ps1 | iex
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
1 Reply
Jallot
JallotOP2w ago
well chatgpt was smart
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
irm https://deno.land/install.ps1 -UseBasicParsing | iex
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
irm https://deno.land/install.ps1 -UseBasicParsing | iex
that's how it worked for me

Did you find this page helpful?