Skip to content

Commit

Permalink
doc: Windows install script update.
Browse files Browse the repository at this point in the history
Fixes #2746

Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Apr 1, 2024
1 parent 0b253ea commit b22e95a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ curl -sSL https://pdm-project.org/install-pdm.py | python3 -
**For Windows**

```powershell
(Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py -UseBasicParsing).Content | python -
[System.Text.Encoding]::UTF8.GetString((Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py).Content) | python -
```

For security reasons, you should verify the checksum of `install-pdm.py`.
Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ curl -sSL https://pdm-project.org/install-pdm.py | python3 -
**Windows 安装命令**

```powershell
(Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py -UseBasicParsing).Content | python -
[System.Text.Encoding]::UTF8.GetString((Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py).Content) | python -
```

为安全起见,你应该检查 `install-pdm.py` 文件的正确性。
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Like Pip, PDM provides an installation script that will install PDM into an isol
=== "Windows"

```powershell
(Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py -UseBasicParsing).Content | py -
[System.Text.Encoding]::UTF8.GetString((Invoke-WebRequest -Uri https://pdm-project.org/install-pdm.py).Content) | python -
```

For security reasons, you should verify the checksum of `install-pdm.py`.
Expand Down
1 change: 1 addition & 0 deletions install-pdm.py.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8ca00927e37520b86ff6332070189c0f1ca2732111eeb9eb5b5b5b7fb40ea388 install-pdm.py

0 comments on commit b22e95a

Please sign in to comment.