Use more universal windows install instructions (#1811)

Recommend installing uv on windows with

```
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
```

instead of

```
irm https://astral.sh/uv/install.ps1 | iex
```

to support installing on cmd.exe, the classic non-powershell windows
command prompt.

See https://github.com/axodotdev/cargo-dist/issues/458 for background.
This will also be included in the next cargo-dist release.

I have confirmed this passes on
 * Command Prompt
 * Windows PowerShell
 * PowerShell
 * git bash

Closes #1750

CC @12932 this fixes the uv command prompt installation.
This commit is contained in:
konsti 2024-02-22 10:25:33 +01:00 committed by GitHub
parent 9f3ccf7fe1
commit af06a6fe0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ Install uv with our standalone installers, or from [PyPI](https://pypi.org/proje
# On macOS and Linux. # On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows (with PowerShell). # On Windows.
irm https://astral.sh/uv/install.ps1 | iex powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
# With pip. # With pip.
pip install uv pip install uv