python3 (or python) executable on your PATH, a package manager called pip, and a working interactive interpreter you can launch from your terminal. This page gives you an overview of each platform and the verification commands you will run after installing. If you want the full step-by-step walkthrough, jump to your platform guide directly from the cards below.
Choose your operating system
Windows
Windows 10 or 11 — installer from python.org with PATH setup instructions.
macOS
Mac computers — official
.pkg installer or Homebrew.Linux
Ubuntu, Debian, Fedora, Arch, and more — via your system package manager.
Quick installation overview
- Windows
- macOS
- Linux
- Download the latest Python installer from python.org/downloads.
- Run the installer — check “Add python.exe to PATH” before clicking Install Now.
- Open Windows Terminal and verify:
Verifying your installation
Once you have installed Python, open a terminal and run the appropriate command for your platform:pip (the Python package manager) is available — you will need it throughout this course:
Test the interactive interpreter
Python ships with an interactive interpreter called the REPL (Read-Eval-Print Loop). You can use it to run Python expressions one line at a time — great for quick experiments:>>> prompt, which means Python is ready:
exit() or press Ctrl + D (macOS/Linux) / Ctrl + Z then Enter (Windows).
If anything doesn’t work as expected, head to the detailed guide for your platform — each one includes a thorough troubleshooting section.
Platform-specific guides
Windows — Full Guide
Covers PATH setup, the Microsoft Store conflict, and multiple Python versions.
macOS — Full Guide
Covers Homebrew vs. direct download, certificate errors, and shell configuration.
Linux — Full Guide
Covers apt, dnf, pacman, the deadsnakes PPA, and virtual environment best practices.