Add -ExecutionPolicy ByPass to Windows installer recommendations (#7106)

This commit is contained in:
Zanie Blue 2024-09-05 19:41:40 -05:00 committed by GitHub
parent c494f6912c
commit 3d57b6e795
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ uv provides a standalone installer to download and install uv:
=== "Windows"
```console
$ powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```
By default, uv is installed to `~/.cargo/bin`.
@ -51,7 +51,7 @@ Request a specific version by including it in the URL:
=== "Windows"
```console
$ powershell -c "irm https://astral.sh/uv/0.4.6/install.ps1 | iex"
$ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/0.4.6/install.ps1 | iex"
```
!!! tip