commands.sh

poetry update

all

Update the dependencies as according to the `pyproject.toml` file.

More info →

Examples (6)

Update all dependencies

Update one or more specific packages

poetry update package1 package2 ...

Update the lock file only, without installing the packages

Synchronize the environment with the locked packages

Update dependencies only for a specific group

poetry update --only group_name

Simulate the update process without making changes

poetry update --dry-run
made by @shridhargupta | data from tldr-pages