windows download pip code example

Example 1: installing pip

python -m pip install --upgrade pip

Example 2: pip install

curl -kL https://bootstrap.pypa.io/get-pip.py | python3

Example 3: pip download

py -m pip download [options] <requirement specifier> [package-index-options] ...
py -m pip download [options] -r <requirements file> [package-index-options] ...
py -m pip download [options] <vcs project url> ...
py -m pip download [options] <local project path> ...
py -m pip download [options] <archive url/path> ...