This guide will walk you through installing Homebrew, Git, and Python 3.11 on Mac and Windows in a simple, step-by-step way.
Homebrew is a package manager that makes it easy to install software.
- Open Terminal (
Cmd + Space
, type Terminal, press Enter). - Install Homebrew by running:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Verify installation:
✅ If you see a version number, Homebrew is installed!
brew --version
Git is a version control system useful for coding and automation.
- Run:
brew install git
- Verify installation:
✅ You should see
git --version
git version 2.x.x
.
- Install Python 3.11 with:
brew install python@3.11
- Check the installed version:
✅ It should print Python 3.11.x.
python3 --version
pip
is used to install Python packages.
- Ensure pip is installed:
python3 -m ensurepip --default-pip
- Upgrade pip to the latest version:
python3 -m pip install --upgrade pip
- Check the pip version:
✅ If you see
pip --version
pip 23.x.x
, pip is ready to use!