Open gozdal opened 5 months ago
We explicitly pass --tlsv1.2
to curl for the shell installer already, so that seems supremely reasonable for the powershell installer to set too.
Could you confirm for me that this expression works on your windows server?
irm -SslProtocol Tls12 https://astral.sh/uv/install.ps1 | iex
(It's probable once the script downloads it will then error trying to fetch the actual binaries, but that's easier to fix than the raw irm | iex
)
Unfortunately not:
Ah shoot, yeah that flag is relatively bleeding edge (and maybe Powershell Core exclusive?).
When trying to install
uv
in our CI env I noticed that Windows 2016 boxes failed to download the install script because ofCould not create SSL/TLS secure channel
. Later Windows versions were fine.I worked around it with:
Perhaphs it'd be good to add it to the docs?