SetupCOMPILERS

Install Compilers

Step-by-step guides to install any programming language on your machine. Each guide includes copy-paste commands for macOS, Linux, and Windows.

Python

High-level programming language for web, data science, AI, and automation.

1Install via Homebrew

Homebrew is the most popular package manager for macOS. This installs the latest Python 3 along with pip (package installer) and venv (virtual environments).

brew install python
2Verify installation

Open Terminal and run this command. You should see something like "Python 3.12.x". If you get "command not found", restart your terminal.

python3 --version
Verify: run python3 --version in your terminal to confirm installation