Files
cheatsheet-tldr/tldr/poetry-install
2025-10-08 00:19:16 +00:00

26 lines
539 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# poetry install
> Install all dependencies for a Python project as defined in the pyproject.toml file.
> More information: <https://python-poetry.org/docs/cli/#install>.
- Install dependencies:
`poetry install`
- Skip installing the project itself as a dependency:
`poetry install --no-root`
- Install only production dependencies:
`poetry install --without dev`
- Install optional dependenciy groups:
`poetry install --with test,docs`