poetry-self
Manage the Poetry installation/runtime environment itself. These commands reference
pyproject.tomlandpoetry.lockfiles in your Poetry configuration directory. See also:asdf. More information: https://python-poetry.org/docs/cli/#self.
- Install a package:
poetry self add
- Install dependencies from the Poetry installation's
pyproject.tomlfile:
poetry self install
- Lock dependencies from the Poetry installation's
pyproject.tomlfile:
poetry self lock
- Remove a package:
poetry self remove
- List all installed packages:
poetry self show
- List all installed plugins:
poetry self show plugins
- Sync the runtime environment with the Poetry installation's
poetry.lockfile:
poetry self sync
- Update dependencies from the Poetry installation's
pyproject.tomlfile:
poetry self update
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
