poetry-self
Manage the Poetry installation/runtime environment itself. tldr-pages
On several platforms
Several platforms
Manage the Poetry installation/runtime environment itself. These commands reference pyproject.toml and poetry.lock files in your Poetry configuration directory.
Install a package
poetry self add package_nameIdentifyInstall dependencies from the Poetry installation's pyproject.toml file
poetry self installIdentifyLock dependencies from the Poetry installation's pyproject.toml file
poetry self lockIdentifyRemove a package
poetry self remove package_nameIdentifyList all installed packages
poetry self showIdentifyList all installed plugins
poetry self show pluginsIdentifySync the runtime environment with the Poetry installation's poetry.lock file
poetry self syncIdentifyUpdate dependencies from the Poetry installation's pyproject.toml file
poetry self updateIdentify