Skip to content

Commit 2fd22f8

Browse files
committed
add paragraph about python commands
1 parent 883604e commit 2fd22f8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

content/blog/2025-02-xx-announcing-poetry-2-1-0.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,22 @@ This behavior will change in the next minor release of Poetry. When a `[build-sy
7979
Poetry will then default to using `setuptools`.
8080
{{% /warning %}}
8181

82+
### Experimental commands to manage Python installations
83+
84+
Poetry now includes experimental [commands](docs/cli/#python) to manage Python installations.
85+
You can install, list and remove Python versions, which you can use afterward to create project environments.
86+
For example, if you want to use Python 3.13 for your project, but you do not have it installed yet, you can run:
87+
88+
```bash
89+
poetry python install 3.13
90+
poetry env use 3.13
91+
```
92+
93+
{{% note %}}
94+
The `python install` command uses [python-build-standalone](https://gregoryszorc.com/docs/python-build-standalone/main/),
95+
which has some quirks compared to standard Python installations. See their documentation for more information.
96+
{{% /note %}}
97+
8298
## Changelog
8399

84100
TODO

0 commit comments

Comments
 (0)