mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-01 22:41:16 +00:00
Added a way to inspect installation scripts on Powershell(Windows) (#5157)
## Summary ### command ```powershell powershell -c "irm https://astral.sh/uv/install.ps1 | more" ``` Add a method to inspect installation script files that works on Windows, it may not work on other platforms supported by PowerShell. <br> Other platforms information: [PowerShell differences on non-Windows platforms / General Unix interoperability changes](https://learn.microsoft.com/en-us/powershell/scripting/whats-new/unix-support?view=powershell-7.4#general-unix-interoperability-changes) [Differences between Windows PowerShell 5.1 and PowerShell 7.x / Removal of the more function](https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.4#removal-of-the-more-function) <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan **terminal** * Powershell Version: 5.1.22621.3880 (Windows)  * Powershell Version: 7.4.3 (Windows)  ## Result (Website)  --------- Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
149c612026
commit
b1a350cb9f
1 changed files with 4 additions and 0 deletions
|
@ -21,7 +21,11 @@ uv is installed to `~/.cargo/bin`.
|
|||
The installation script may be inspected with:
|
||||
|
||||
```bash
|
||||
# On macOS and Linux.
|
||||
curl -LsSf https://astral.sh/uv/install.sh | less
|
||||
|
||||
# On Windows.
|
||||
powershell -c "irm https://astral.sh/uv/install.ps1 | more"
|
||||
```
|
||||
|
||||
Alternatively, the installer or binaries can be downloaded directly from [GitHub](#github-releases).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue