diff --git a/pages/common/poetry.md b/pages/common/poetry.md index 53fec1d0e..1415773e9 100644 --- a/pages/common/poetry.md +++ b/pages/common/poetry.md @@ -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: