Author's Picture
Author: Joel Gray Published: 22 January 2024 Read Time: ~2 minutes

How to install PIP on Linux, Windows and MacOS

PIP is a recursive acronym which means Pip Installs Packages. It is a crucial tool for Python developers, as it simplifies the process of installing and managing Python packages. While the steps to install PIP are similar across different operating systems, there are slight variations that users should be aware of.

Below is a guide tailored to help you install PIP on various operating systems. This guide assumes you have Python installed already. Checkout our blog on installing Python here.

Linux

Debian/Ubuntu:

  1. sudo apt-get install python3-pip

Arch:

  1. sudo pacman -S python-pip

Windows

  1. PIP is included by default when you install from Python.org

MacOS

  1. After installing Python via Homebrew, PIP is installed automatically.

Detailed Instructions:

Debian/Ubuntu

Open a Terminal

  1. Use a keyboard shortcut, typically Ctrl + Alt + T.
  2. Alternatively, you can search for “Terminal” in your system’s application menu and open it from there.

Install PIP

Run the following commands, to install using the apt package manager.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo apt-get update && sudo apt upgrade
sudo apt-get install python3-pip
sudo apt-get update && sudo apt upgrade sudo apt-get install python3-pip
sudo apt-get update && sudo apt upgrade
sudo apt-get install python3-pip

Check if PIP is Installed

You can type the following command into the terminal and ensure the output lists a PIP version.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
pip3 --version
pip3 --version
pip3 --version

Arch Linux

Windows

MacOS