Download all requirements into a local artifact directory.

Section: Repeatable Installs

Build a local wheelhouse

bash
bash
python -m pip download -r requirements.txt -d ./wheelhouse
Explanation

Useful for prefetching artifacts used in CI or offline deployments.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Repeatable Installs
Install from a wheelhouse offline
Install from local artifacts without contacting indexes.
OpenIn sheetbashsame section
Install with required hashes
Require hash verification for all requirements.
OpenIn sheetbashsame section
Install a package without dependencies
Skip resolver dependency installation.
OpenIn sheetbashsame section
Constrain a direct install
Apply version constraints to a direct install.
Generate JSON install report
Write a structured report during installation.
Maintain layered requirement files
Example pattern for base + dev requirement layering.