LinuxCommandLibrary

poetry-show

Display installed package information

TLDR

List installed packages

$ poetry show
copy
Show package details
$ poetry show [package]
copy
Show dependency tree
$ poetry show --tree
copy
Show only top-level dependencies
$ poetry show --top-level
copy
Show outdated packages
$ poetry show --outdated
copy

SYNOPSIS

poetry show [options] [package]

DESCRIPTION

poetry show displays information about installed packages in the project. Without arguments, it lists all installed packages with their versions and descriptions. When given a package name, it shows detailed information including dependencies and available versions.
The --tree flag displays the dependency tree showing how packages relate to each other. The --outdated flag highlights packages with newer versions available, and --top-level shows only direct project dependencies.

PARAMETERS

PACKAGE

Package to show details for.
--tree
Show dependency tree.
--top-level
Only top-level deps.
--outdated
Show outdated packages.
--latest
Show latest versions.
-a, --all
Show all packages.

CAVEATS

Requires valid lock file. Shows installed state.

HISTORY

poetry show provides dependency inspection for Poetry projects.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community