Skip to content

Install ESPTool on macOS

José Antonio Jiménez Campos edited this page Jan 5, 2025 · 17 revisions

Open a Terminal, and launch following command to install Python3 from Apple:

xcode-select --install

A new window will appear asking about install Developer Tools for macOS. Click on Install.

Next, update pip (Python package manager) and install ESPTool:

python3 -m pip install --upgrade pip
python3 -m pip install esptool

In order to launch esptool.py, exec directly with this:

python3 -m esptool

Optional

Alternatively, but not needed, you can add Python binaries directory to PATH:

~/Library/Python/3.9/bin

Updating ESPTool

To update a current installation of ESPTool to last version:

python3 -m pip install --upgrade esptool
Clone this wiki locally