downloading pip code example

Example 1: installing pip

python -m pip install --upgrade pip

Example 2: pip installer for mac

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Example 3: pip version

pip --version

Example 4: install pip

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> ...