How to Install PIP on Windows, Linux and Mac Operating System

The pip is the package installer for Python. You can use it to install packages from the Python Package Index and other indexes. To install pip, follow these steps based on your operating system:

How to Install PIP on Windows, Linux and Mac Operating System

How to Install PIP on Windows

  1. Download and install Python from its official site downloads and make sure to check the box Add Python to PATH.

  2. Open Command Prompt and run the following command to ensure Python and pip are installed:

    python --version
    pip --version

  3. If pip is not already installed, you can use below command.
    python -m ensurepip --upgrade

  4. After that, upgrade pip to the latest version:
    python -m pip install --upgrade pip
 

How to Install PIP on Linux or macOS

  1. First of all install Python, if you don't have installed Python programming language then click here please.

  2. To verify pip installation:
    python3 -m pip --version

  3. If pip is missing or outdated, you can install or upgrade it:
    python3 -m ensurepip --upgrade

Previous Post Next Post