pip
Python package manager. Some subcommands such as `install` have their own usage documentation.
More info →Subcommands (16)
Inspect and manage pip's wheel cache.
Check installed packages for broken or incompatible dependencies.
Manage local and global configuration for pip.
Display debug information about the current pip environment and configuration. Intended for debugging; options and output may change without notice.
Download Python packages without installing them.
List installed packages in requirements format.
Compute hashes of package archives for verification.
Inspect information available from package indexes.
Inspect the Python environment and produce a report in JSON format.
Install Python packages.
List installed Python packages.
Lock Python packages and their dependencies into a reproducible file. Experimental feature of `pip`.
Search for Python packages by name or summary. Doesn't work with PyPI; may work with other package indexes.
Show information about installed packages.
Uninstall Python packages.
Build wheel archives for packages and dependencies.
Options (2)
-U, --upgradebooleanUpgrade a package
pip install {{[-U|--upgrade]}} {{package}}-r, --requirementbooleanInstall packages from a file
pip install {{[-r|--requirement]}} {{requirements.txt}}Examples (8)
Install a package (see `pip install` for more install examples)
pip install packageInstall a package to the user's directory instead of the system-wide default location
pip install --user packageUpgrade a package
pip install [-U|--upgrade] packageUninstall a package
pip uninstall packageSave installed packages to file
pip freeze > requirements.txtList installed packages
Show installed package info
pip show packageInstall packages from a file
pip install [-r|--requirement] requirements.txt