pipdeptree
« Back to VersTracker
Description:
CLI to display dependency tree of the installed Python packages
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python dependencies cli development package-management
Install: brew install pipdeptree
About:
Pipdeptree is a command-line utility that generates a visual representation of the dependency hierarchy for installed Python packages. It helps developers understand which packages rely on others by listing them in a tree format. This tool is essential for debugging version conflicts and managing complex dependency structures in Python environments.
Key Features:
  • Outputs a tree view of installed Python packages and their dependencies
  • Identifies conflicting package versions across the dependency graph
  • Provides machine-readable output formats like JSON for scripting integration
  • Supports filtering by package name to focus on specific dependency chains
Use Cases:
  • Debugging version mismatch errors in Python virtual environments
  • Auditing project dependencies to identify unused or conflicting packages
  • Generating dependency reports for documentation or compliance purposes
Alternatives:
  • pip check – Built-in pip command that verifies dependencies but lacks visual tree output
  • pip show – Shows details for a single package but cannot visualize the full dependency graph
Version History
Detected Version Rev Change Commit
Oct 9, 2024 8:22pm 0 VERSION_BUMP a632d8ee
Sep 18, 2024 12:54am 0 VERSION_BUMP 59d3a945