Skip to content

Commit 8251350

Browse files
KemingHegithub-actions[bot]
authored andcommitted
docs(src/assets/): update pdm official documentation
1 parent 06d31b3 commit 8251350

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

src/assets/pdm/_metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"source_repo": "pdm-project/pdm",
33
"docs_path": "docs",
4-
"updated_at": "2025-11-18T22:05:57Z",
5-
"commit_sha": "5af670d3c96873f71c9fa80afcd508c476b2d038"
4+
"updated_at": "2025-11-25T22:06:03Z",
5+
"commit_sha": "de8c445155dfab945d082c823f0cd4a52995cfc4"
66
}

src/assets/pdm/index.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,34 @@ PDM requires Python 3.9+ to be installed. It works on multiple platforms includi
3434

3535
### Recommended installation method
3636

37+
Install the prebuilt binary directly with the installer scripts.
38+
39+
=== "Linux/Mac"
40+
41+
```bash
42+
curl -sSL https://pdm-project.org/install.sh | bash
43+
```
44+
45+
To install a specific version:
46+
47+
```bash
48+
curl -sSL https://pdm-project.org/install.sh | bash -s -- -v <version>
49+
```
50+
51+
=== "Windows"
52+
53+
```powershell
54+
powershell -ExecutionPolicy ByPass -c "irm https://pdm-project.org/install.ps1 | iex"
55+
```
56+
57+
To install a specific version:
58+
59+
```powershell
60+
powershell -ExecutionPolicy ByPass -c "irm https://pdm-project.org/install.ps1 | iex -Args '-v <version>'"
61+
```
62+
63+
### Install via Python script
64+
3765
PDM requires python version 3.9 or higher.
3866

3967
Like Pip, PDM provides an installation script that will install PDM into an isolated environment.

0 commit comments

Comments
 (0)