pip31
Package manager for python packages
Usage
pip3 <command>
[options]
Overview
pip3 is the PyPA recommended package manager for Python packages
Options
-
-h, --help -
Show help.
(environment variable:
PIP_HELP)
-
--debug -
Let unhandled exceptions propagate outside the main subroutine, instead of logging them to stderr.
(environment variable:
PIP_DEBUG)
-
--isolated -
Run pip in an isolated mode, ignoring environment variables and user configuration.
(environment variable:
PIP_ISOLATED)
-
--require-virtualenv -
Allow pip to only run in a virtual environment; exit with an error otherwise.
(environment variable:
PIP_REQUIRE_VIRTUALENV,PIP_REQUIRE_VENV)
-
--python <python> -
Run pip with the specified Python interpreter.
(environment variable:
PIP_PYTHON)
-
-v, --verbose -
Give more output. Option is additive, and can be used up to 3 times.
(environment variable:
PIP_VERBOSE)
-
-V, --version -
Show version and exit.
(environment variable:
PIP_VERSION)
-
-q, --quiet -
Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels).
(environment variable:
PIP_QUIET)
-
--log <path> -
Path to a verbose appending log.
(environment variable:
PIP_LOG,PIP_LOG_FILE,PIP_LOCAL_LOG)
-
--no-input -
Disable prompting for input.
(environment variable:
PIP_NO_INPUT)
-
--keyring-provider <keyring_provider> -
Enable the credential lookup via the keyring library if user input is allowed. Specify which mechanism to use [auto, disabled, import, subprocess]. (default: auto)
(environment variable:
PIP_KEYRING_PROVIDER)
-
--proxy <proxy> -
Specify a proxy in the form scheme://[user:passwd@]proxy.server:port.
(environment variable:
PIP_PROXY)
-
--retries <retries> -
Maximum attempts to establish a new HTTP connection. (default: 5)
(environment variable:
PIP_RETRIES)
-
--timeout <sec> -
Set the socket timeout (default 15 seconds).
(environment variable:
PIP_TIMEOUT,PIP_DEFAULT_TIMEOUT)
-
--exists-action <action> -
Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.
(environment variable:
PIP_EXISTS_ACTION)
-
--trusted-host <hostname> -
Mark this host or host:port pair as trusted, even though it does not have valid or any HTTPS.
(environment variable:
PIP_TRUSTED_HOST)
-
--cert <path> -
Path to PEM-encoded CA certificate bundle. If provided, overrides the default. See 'SSL Certificate Verification' in pip documentation for more information.
(environment variable:
PIP_CERT)
-
--client-cert <path> -
Path to SSL client certificate, a single file containing the private key and the certificate in PEM format.
(environment variable:
PIP_CLIENT_CERT)
-
--cache-dir <dir> -
Store the cache data in <dir>.
(environment variable:
PIP_CACHE_DIR)
-
--no-cache-dir -
Disable the cache.
(environment variable:
PIP_NO_CACHE_DIR)
-
--disable-pip-version-check -
Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index.
(environment variable:
PIP_DISABLE_PIP_VERSION_CHECK)
-
--no-color -
Suppress colored output.
(environment variable:
PIP_NO_COLOR)
-
--use-feature <feature> -
Enable new functionality, that may be backward incompatible.
(environment variable:
PIP_USE_FEATURE)
-
--use-deprecated <feature> -
Enable deprecated functionality, that will be removed in the future.
(environment variable:
PIP_USE_DEPRECATED)
-
--resume-retries <resume_retries> -
Maximum attempts to resume or restart an incomplete download. (default: 0)
(environment variable:
PIP_RESUME_RETRIES)
Commands
pip3-install(1)-
Install packages.
pip3-download(1)-
Download packages.
pip3-uninstall(1)-
Uninstall packages.
pip3-freeze(1)-
Output installed packages in requirements format.
pip3-lock(1)-
Generate a lock file for requirements and their dependencies.
pip3-list(1)-
List installed packages.
pip3-show(1)-
Show information about installed packages.
pip3-check(1)-
Verify installed packages have compatible dependencies.
pip3-search(1)-
Search PyPI for packages.
pip3-wheel(1)-
Build wheels from your requirements.
pip3-hash(1)-
Compute hashes of package archives.
pip3-help(1)-
Show help for pip commands.
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster) to Debian 8 (Jessie)
--cache-dir since Debian 13 (Trixie);
--cert since Debian 13 (Trixie);
--client-cert since Debian 13 (Trixie);
--debug since Debian 13 (Trixie);
--disable-pip-version-check since Debian 13 (Trixie);
--exists-action since Debian 13 (Trixie);
--isolated since Debian 13 (Trixie);
--keyring-provider since Debian 13 (Trixie);
--log since Debian 13 (Trixie);
--no-cache-dir since Debian 13 (Trixie);
--no-color since Debian 13 (Trixie);
--no-input since Debian 13 (Trixie);
--proxy since Debian 13 (Trixie);
--python since Debian 13 (Trixie);
--require-virtualenv since Debian 13 (Trixie);
--resume-retries since Debian 13 (Trixie);
--retries since Debian 13 (Trixie);
--timeout since Debian 13 (Trixie);
--trusted-host since Debian 13 (Trixie);
--use-deprecated since Debian 13 (Trixie);
--use-feature since Debian 13 (Trixie).
--allow-all-external until Debian 12 (Bookworm);
--build until Debian 11 (Bullseye);
--compile until Debian 12 (Bookworm);
--download until Debian 12 (Bookworm);
--editable until Debian 12 (Bookworm);
--egg until Debian 12 (Bookworm);
--find-links until Debian 12 (Bookworm);
--force-reinstall until Debian 12 (Bookworm);
--ignore-installed until Debian 12 (Bookworm);
--index-url until Debian 12 (Bookworm);
--no-clean until Debian 12 (Bookworm);
--no-compile until Debian 12 (Bookworm);
--no-deps until Debian 12 (Bookworm);
--no-index until Debian 12 (Bookworm);
--no-use-wheel until Debian 12 (Bookworm);
--pre until Debian 12 (Bookworm);
--process-dependency-links until Debian 12 (Bookworm);
--requirement until Debian 12 (Bookworm);
--target until Debian 12 (Bookworm);
--upgrade until Debian 12 (Bookworm);
--user until Debian 12 (Bookworm);
--yes until Debian 12 (Bookworm);
-I until Debian 12 (Bookworm);
-U until Debian 12 (Bookworm);
-b until Debian 11 (Bullseye);
-d until Debian 12 (Bookworm);
-e until Debian 12 (Bookworm);
-f until Debian 12 (Bookworm);
-i until Debian 12 (Bookworm);
-r until Debian 12 (Bookworm);
-t until Debian 12 (Bookworm);
-y until Debian 12 (Bookworm).