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
well chatgpt was smart
that's how it worked for me
[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