poetry show: Inspect Installed Dependencies
List dependencies, their versions, and the dependency tree.
poetry show lists the project’s installed dependencies. Flags render the full tree or highlight outdated packages - useful for dependency audits in CI.
What it does
Prints installed dependencies and versions. --tree shows the nested dependency graph; --outdated lists packages with newer versions available within constraints.
Common usage
Terminal
poetry show
poetry show --tree
poetry show --outdated
poetry show requestsCommon CI use: audit outdated deps
Run poetry show --outdated in a scheduled job to surface dependencies that have newer compatible releases, then decide whether to poetry update them.
Terminal
# Scheduled audit step:
poetry show --outdatedRelated guides
poetry update: Upgrade Within ConstraintsHow poetry update upgrades dependencies to the newest versions allowed by pyproject.toml, updates the lock, a…
poetry install: Install from the LockfileHow poetry install resolves and installs dependencies from poetry.lock, the --no-root and --only flags useful…
pip list: Inspect Installed PackagesHow pip list shows installed packages and versions, the --outdated and --format flags useful in CI, and how t…