.\" Man page generated from reStructuredText .\" by the Docutils 0.23 manpage writer. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "PIP-DOWNLOAD" "1" "Aug 05, 2026" "26.2" "pip" .SH NAME pip-download \- description of pip download command .SH DESCRIPTION .sp Download packages from: .INDENT 0.0 .IP \(bu 2 PyPI (and other indexes) using requirement specifiers. .IP \(bu 2 VCS project urls. .IP \(bu 2 Local project directories. .IP \(bu 2 Local or remote source archives. .UNINDENT .sp pip also supports downloading from \(dqrequirements files\(dq, which provide an easy way to specify a whole environment to be downloaded. .SH USAGE .INDENT 0.0 .INDENT 3.5 .sp .EX python \-m pip download [options] [package\-index\-options] ... python \-m pip download [options] \-r [package\-index\-options] ... python \-m pip download [options] ... python \-m pip download [options] ... python \-m pip download [options] ... .EE .UNINDENT .UNINDENT .SH OPTIONS .sp .INDENT 0.0 .TP .B \-c, \-\-constraint Constrain versions using the given constraints file. This option can be used multiple times. .sp (environment variable: \fBPIP_CONSTRAINT\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-build\-constraint Constrain build dependencies using the given constraints file. This option can be used multiple times. .sp (environment variable: \fBPIP_BUILD_CONSTRAINT\fP) .UNINDENT .INDENT 0.0 .TP .B \-r, \-\-requirement Install from the given requirements file. The file or URL can be in pip\(aqs requirements.txt format, or pylock.toml format. pylock.toml support is experimental. This option can be used multiple times. .sp (environment variable: \fBPIP_REQUIREMENT\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-requirements\-from\-script Install dependencies of the given script file as defined by PEP 723 inline metadata. .sp (environment variable: \fBPIP_REQUIREMENTS_FROM_SCRIPT\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-no\-deps Don\(aqt install package dependencies. .sp (environment variable: \fBPIP_NO_DEPS\fP, \fBPIP_NO_DEPENDENCIES\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-only\-deps Take only the dependencies of the provided requirements into account, not the requirements themselves. Cannot be used in combination with \-\-no\-deps, \-\-group, \-\-requirement, or \-\-requirements\-from\-script. No user\-supplied requirements will be handled, even if they were dependencies of other user\-supplied requirements. .sp (environment variable: \fBPIP_ONLY_DEPS\fP, \fBPIP_ONLY_DEPENDENCIES\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-src Directory to check out editable projects into. The default in a virtualenv is \(dq/src\(dq. The default for global installs is \(dq/src\(dq. .sp (environment variable: \fBPIP_SRC\fP, \fBPIP_SOURCE\fP, \fBPIP_SOURCE_DIR\fP, \fBPIP_SOURCE_DIRECTORY\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-require\-hashes Require a hash to check each requirement against, for repeatable installs. This option is implied when any package in a requirements file has a \-\-hash option. .sp (environment variable: \fBPIP_REQUIRE_HASHES\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-no\-require\-hashes Do not automatically enable \-\-require\-hashes when encountering a requirement with hashes. .sp (environment variable: \fBPIP_NO_REQUIRE_HASHES\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-progress\-bar Specify whether the progress bar should be used. In \(aqauto\(aq mode, \-\-quiet will suppress all progress bars. [auto, on, off, raw] (default: auto) .sp (environment variable: \fBPIP_PROGRESS_BAR\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-no\-build\-isolation Disable isolation when building a modern source distribution. Build dependencies specified by PEP 518 must be already installed if this option is used. .sp (environment variable: \fBPIP_NO_BUILD_ISOLATION\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-check\-build\-dependencies Check the build dependencies. .sp (environment variable: \fBPIP_CHECK_BUILD_DEPENDENCIES\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-ignore\-requires\-python Ignore the Requires\-Python information. .sp (environment variable: \fBPIP_IGNORE_REQUIRES_PYTHON\fP) .UNINDENT .INDENT 0.0 .TP .B \-d, \-\-dest Download packages into . .sp (environment variable: \fBPIP_DEST\fP, \fBPIP_DESTINATION_DIR\fP, \fBPIP_DESTINATION_DIRECTORY\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-platform Only use wheels compatible with . Defaults to the platform of the running system. Use this option multiple times to specify multiple platforms supported by the target interpreter. .sp (environment variable: \fBPIP_PLATFORM\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-python\-version The Python interpreter version to use for wheel and \(dqRequires\-Python\(dq compatibility checks. Defaults to a version derived from the running interpreter. The version can be specified using up to three dot\-separated integers (e.g. \(dq3\(dq for 3.0.0, \(dq3.7\(dq for 3.7.0, or \(dq3.7.3\(dq). A major\-minor version can also be given as a string without dots (e.g. \(dq37\(dq for 3.7.0). .sp (environment variable: \fBPIP_PYTHON_VERSION\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-implementation Only use wheels compatible with Python implementation , e.g. \(aqpp\(aq, \(aqjy\(aq, \(aqcp\(aq, or \(aqip\(aq. If not specified, then the current interpreter implementation is used. Use \(aqpy\(aq to force implementation\-agnostic wheels. .sp (environment variable: \fBPIP_IMPLEMENTATION\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-abi Only use wheels compatible with Python abi , e.g. \(aqpypy_41\(aq. If not specified, then the current interpreter abi tag is used. Use this option multiple times to specify multiple abis supported by the target interpreter. Generally you will need to specify \-\-implementation, \-\-platform, and \-\-python\-version when using this option. .sp (environment variable: \fBPIP_ABI\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-group <[path:]group> Install a named dependency\-group from a \(dqpyproject.toml\(dq file. If a path is given, the name of the file must be \(dqpyproject.toml\(dq. Defaults to using \(dqpyproject.toml\(dq in the current directory. .sp (environment variable: \fBPIP_GROUP\fP) .UNINDENT .INDENT 0.0 .TP .B \-\-no\-clean Don\(aqt clean up build directories. .sp (environment variable: \fBPIP_NO_CLEAN\fP) .UNINDENT .SH Author pip developers .SH Copyright The pip developers .\" End of generated man page.