PIP-DOWNLOAD(1)
β¨ NAME β¨
okay so this is pip-download, bestie β it's the manual page for the pip download command π
π¦ DESCRIPTION π¦
so like, pip download is out here pulling packages for you, and it does it from so many places, no cap:
- PyPI (and other indexes too!) using requirement specifiers π
- VCS project urls
- Local project directories
- Local or remote source archives
and pip is ALSO not done β it supports downloading from "requirements files" too, which is literally the easiest way to name a whole entire environment and just download all of it at once. iconic behavior fr fr πΈ
π USAGE π
here's the vibe check on how you actually call it:
python -m pip download [options] <requirement specifier> [package-index-options] ...
python -m pip download [options] -r <requirements file> [package-index-options] ...
python -m pip download [options] <vcs project url> ...
python -m pip download [options] <local project path> ...
python -m pip download [options] <archive url/path> ...
π OPTIONS π
every single one, bestie, we're not skipping a thing:
-c,--constraint<file> β constrain versions using the given constraints file. and yes, you can use this option multiple times π- (environment variable:
PIP_CONSTRAINT)
- (environment variable:
--build-constraint<file> β constrain build dependencies using the given constraints file. also multiple times allowed, go off π- (environment variable:
PIP_BUILD_CONSTRAINT)
- (environment variable:
-r,--requirement<file> β install from the given requirements file. yep, this one can be used multiple times too β¨- (environment variable:
PIP_REQUIREMENT)
- (environment variable:
--requirements-from-script<file> β install dependencies of the given script file, as defined by PEP 723 inline metadata π- (environment variable:
PIP_REQUIREMENTS_FROM_SCRIPT)
- (environment variable:
--no-depsβ don't install package dependencies. that's it, that's the whole thing π- (environment variable:
PIP_NO_DEPS,PIP_NO_DEPENDENCIES)
- (environment variable:
--src<dir> β the directory to check out editable projects into. in a virtualenv the default is"<venv path>/src", and for global installs the default is"<current dir>/src"πΈ- (environment variable:
PIP_SRC,PIP_SOURCE,PIP_SOURCE_DIR,PIP_SOURCE_DIRECTORY)
- (environment variable:
--require-hashesβ require a hash to check each requirement against, for repeatable installs. and lowkey important: this option is implied when any package in a requirements file has a--hashoption π- (environment variable:
PIP_REQUIRE_HASHES)
- (environment variable:
--progress-bar<progress_bar> β specify whether the progress bar should be used. in'auto'mode,--quietwill suppress all progress bars. the options are[auto, on, off, raw](default:auto) β- (environment variable:
PIP_PROGRESS_BAR)
- (environment variable:
--no-build-isolationβ disable isolation when building a modern source distribution. heads up though: build dependencies specified by PEP 518 must already be installed if you use this option π«Ά- (environment variable:
PIP_NO_BUILD_ISOLATION)
- (environment variable:
--check-build-dependenciesβ check the build dependencies π- (environment variable:
PIP_CHECK_BUILD_DEPENDENCIES)
- (environment variable:
--ignore-requires-pythonβ ignore theRequires-Pythoninformation π- (environment variable:
PIP_IGNORE_REQUIRES_PYTHON)
- (environment variable:
-d,--dest<dir> β download packages into <dir> π- (environment variable:
PIP_DEST,PIP_DESTINATION_DIR,PIP_DESTINATION_DIRECTORY)
- (environment variable:
--platform<platform> β only use wheels compatible with <platform>. defaults to the platform of the running system. use this option multiple times to specify multiple platforms supported by the target interpreter π- (environment variable:
PIP_PLATFORM)
- (environment variable:
--python-version<python_version> β the Python interpreter version to use for wheel and"Requires-Python"compatibility checks. defaults to a version derived from the running interpreter. you can specify the version using up to three dot-separated integers (e.g."3"for 3.0.0,"3.7"for 3.7.0, or"3.7.3"). a major-minor version can also be given as a string without dots (e.g."37"for 3.7.0) β¨- (environment variable:
PIP_PYTHON_VERSION)
- (environment variable:
--implementation<implementation> β only use wheels compatible with Python implementation <implementation>, e.g.'pp','jy','cp', or'ip'. if not specified, then the current interpreter implementation is used. use'py'to force implementation-agnostic wheels π- (environment variable:
PIP_IMPLEMENTATION)
- (environment variable:
--abi<abi> β only use wheels compatible with Python abi <abi>, e.g.'pypy_41'. 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. and generally you will need to specify--implementation,--platform, and--python-versionwhen using this option πΈ- (environment variable:
PIP_ABI)
- (environment variable:
--group<[path:]group> β install a named dependency-group from a"pyproject.toml"file. if a path is given, the name of the file must be"pyproject.toml". defaults to using"pyproject.toml"in the current directory π- (environment variable:
PIP_GROUP)
- (environment variable:
--no-cleanβ don't clean up build directories π§- (environment variable:
PIP_NO_CLEAN)
- (environment variable:
π Author π
pip developers β shoutout to the whole squad π«Ά
π Copyright π
The pip developers
okay bestie that's a wrap on pip-download from the pip manual, version 26.0, dated Aug 26, 2026 π
go download something cute, you've got this, periodt β¨π¦
π¦ where this page comes from
- fedora 44: python3-pip 26.0.1-3.fc44 Β· MIT AND Python-2.0.1 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MPL-2.0 AND (Apache-2.0 OR BSD-2-Clause)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms