PIP-DOWNLOAD(1)
π pip-download β the manual, but make it a group chat β¨
okay bestie, so this is pip-download(1), straight out of the pip manual fam β and it's literally the page that tells you how to grab packages without installing them. No cap. Let me walk you through it π«Ά
π NAME
pip-download β the description of the pip download command. That's it, that's the name, she's simple, she's iconic π
πΈ DESCRIPTION
So, like, you can download packages from all of these places:
- PyPI (and other indexes, iykyk) using requirement specifiers β¨
- VCS project urls π¦
- Local project directories π
- Local or remote source archives π
And here's the slay part: pip also supports downloading from "requirements files", which are genuinely the easiest way to spec out a whole entire environment to be downloaded. Like, the whole vibe, in one file. Obsessed π
π USAGE
here's the receipts, verbatim, don't @ me:
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> ...
five whole ways to run her, she's versatile like that π
β¨ OPTIONS β¨
this is the part where you grab a snack, because there are a LOT and we're doing ALL of them. no skipping, bestie, we don't do that here π
-c,--constraint <file>β constrain versions using the given constraints file. and yes, you can use this option multiple times, she stacks π-r,--requirement <file>β install from the given requirements file. this one can also be used multiple times, so go off π¦--no-depsβ don't install package dependencies. just the package, nothing else, main character energy only π--global-option <options>β extra global options to be supplied to thesetup.pycall before theinstallorbdist_wheelcommand. fancy little extras π--no-binary <format_control>β do not use binary packages. can be supplied multiple times, and each time it adds to the existing value. accepts either:all:to disable all binary packages,:none:to empty the set (notice the colons β yeah, important, don't forget them fr fr), or one or more package names with commas between them (no colons). β οΈ heads up: some packages are tricky to compile and may fail to install when this option is used on them. so like, be aware π--only-binary <format_control>β do not use source packages. can be supplied multiple times, and each time it adds to the existing value. accepts either:all:to disable all source packages,:none:to empty the set, or one or more package names with commas between them. β οΈ packages without binary distributions will fail to install when this option is used on them. fr, they will π--prefer-binaryβ prefer older binary packages over newer source packages. old but reliable, honestly a vibe πΈ--src <dir>β directory to check out editable projects into. the default in a virtualenv is"<venv path>/src". the default for global installs is"<current dir>/src". iykyk where she lands π¦--preβ include pre-release and development versions. by default,piponly finds stable versions. so like, only turn this on if you're messy on purpose π--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--hashoption. security queen behavior π₯--progress-bar <progress_bar>β specify whether the progress bar should be used[on, off](default:on). she's on by default, watching her go is lowkey satisfying β¨--no-build-isolationβ disable isolation when building a modern source distribution. build dependencies specified by PEP 518 must already be installed if this option is used. no isolation, no safety net, you gotta have your deps already there π--use-pep517β use PEP 517 for building source distributions (use--no-use-pep517to force legacy behaviour). modern girlie behavior π--check-build-dependenciesβ check the build dependencies when PEP517 is used. just a little vibe check on your build deps π«Ά--ignore-requires-pythonβ ignore theRequires-Pythoninformation. just straight up ignoring it, iconic honestly π-d,--dest <dir>β download packages into<dir>. yeah, that's where they go π--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. multi-platform queen π--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. the version can be specified 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). so many ways to say the same thing, she's flexible π¦--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. pick your fighter β--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. generally you will need to specify--implementation,--platform, and--python-versionwhen using this option β like, all together, they're a package deal fr fr π--no-cleanβ don't clean up build directories. leave the mess, she said π«Ά
π AUTHOR
pip developers β the whole squad β¨
π COPYRIGHT
The pip developers β they own this, respectfully π
and that's the whole page, bestie!! ππ
this version is 23.2, and it's dated Jun 25, 2025 β so yeah, she's current, she's fresh, she ate and left no crumbs πβ¨ go forth and download responsibly π«Άπ
π¦ where this page comes from
- centos-stream 9: python3.12-pip 23.2.1-5.el9 Β· MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms