File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -478,8 +478,9 @@ resolves the dependencies, and installs them.
478478{{% note %}}
479479** When to use ` install ` vs ` update ` :**
480480- Use ` poetry install ` to install dependencies as specified in ` poetry.lock ` (or resolve dependencies and create the lock file if it's missing).
481- This is what you run after cloning a project or when you want reproducible installs.
482- - Use ` poetry update ` when you want to update dependencies to their latest versions (within constraints)
481+ This is what you run after cloning a project. For reproducible installs, prefer ` poetry sync ` ,
482+ which also removes packages that are not in the lock file.
483+ - Use ` poetry update ` when you want to update dependencies to their latest versions (within the constraints from the ` pyproject.toml ` )
483484 and refresh ` poetry.lock ` .
484485{{% /note %}}
485486
You can’t perform that action at this time.
0 commit comments