commands.sh

poetry sync

all

Syncs your project's environment with the `poetry.lock` file.

More info →

Options (1)

-E, --extrasboolean

Specify extras to install

Example: poetry sync {{[-E|--extras]}}

Examples (8)

Sync your project's environment with the `poetry.lock` file

Exclude one or more dependency groups for the installation

poetry sync --without test|docs|...

Select optional dependency groups

poetry sync --with test|docs|...

Install all dependency groups including optional groups

poetry sync --all-groups

Install specific dependency groups

poetry sync --only test|docs|...

Install project without dependencies

poetry sync --only-root

Specify extras to install

poetry sync [-E|--extras]

Skip the defaulted package installation for your project

poetry sync --no-root
made by @shridhargupta | data from tldr-pages