LinuxCommandLibrary

pip-download

TLDR

Download package

$ pip download [package]
copy
Download to specific directory
$ pip download -d [directory] [package]
copy
Download specific version
$ pip download [package]==[version]
copy
Download for specific platform
$ pip download --platform [linux_x86_64] --only-binary=:all: [package]
copy
Download from requirements file
$ pip download -r requirements.txt
copy

SYNOPSIS

pip download [options] packages...

DESCRIPTION

pip download downloads packages without installing them. Downloads wheels or source distributions to a specified directory. Useful for offline installation or creating local package mirrors.

PARAMETERS

-d, --dest dir

Download directory.
-r, --requirement file
Download from requirements file.
--no-deps
Don't download dependencies.
--only-binary format
Only download binary packages.
--platform platform
Download for specific platform.
--python-version version
Download for specific Python version.

SEE ALSO

Copied to clipboard