pip Cheat Sheet/List outdated packages

Show packages with newer available versions.

Section: Basics

List outdated packages

bash
bash
python -m pip list --outdated
Explanation

Useful before upgrading an environment or reviewing stale dependencies.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Basics
List installed packages
Show installed packages in the active environment.
OpenIn sheetbashsame section
Show pip version
Print the installed pip version and Python path.
OpenIn sheetbashsame section
Show top-level help
Display general pip help and available commands.
OpenIn sheetbashsame section
Show help for install
Display options for the install command.
OpenIn sheetbashsame section
Show package details
Inspect metadata for an installed package.
OpenIn sheetbashsame section
Upgrade a package
Upgrade one package to the latest matching version.
OpenIn sheetbash1 tag match