mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 07:46:49 +00:00
26 lines
539 B
Plaintext
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`
|