poetry: add install command, update page (#12056)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
Jakub Boukal
2024-01-11 13:43:48 +01:00
committed by GitHub
parent d4115451e4
commit 36a2343019

View File

@@ -8,13 +8,13 @@
`poetry new {{project_name}}`
- Install a dependency and its subdependencies:
- Install and add a dependency and its sub-dependencies to the `pyproject.toml` file in the current directory:
`poetry add {{dependency}}`
- Install a development dependency and its subdependencies:
- Install the project dependencies using the `pyproject.toml` file in the current directory:
`poetry add --group dev {{dependency}}`
`poetry install`
- Interactively initialize the current directory as a new Poetry project: