mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 02:47:59 +00:00
Update cheatsheets
This commit is contained in:
26
tldr/poetry-python
Normal file
26
tldr/poetry-python
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# poetry-python
|
||||
|
||||
> Manage Python versions through Poetry.
|
||||
> See also: `asdf`.
|
||||
> More information: <https://python-poetry.org/docs/cli/#python>.
|
||||
|
||||
- Install the specified Python version:
|
||||
|
||||
`poetry python install {{3.13.1}}`
|
||||
|
||||
- List all Python versions managed by System or Poetry:
|
||||
|
||||
`poetry python list`
|
||||
|
||||
- List all Python versions managed by Poetry:
|
||||
|
||||
`poetry python list --managed`
|
||||
|
||||
- Remove the specified Python version (if managed by Poetry):
|
||||
|
||||
`poetry python remove {{3.13.1}}`
|
||||
Reference in New Issue
Block a user