Skip to main content

Install esptool on your local machine

Learning Objectives

We are using to interact with the MagTag hardware directly from your computer over the USB cable. Installing this tool will let you upload binaries directly to the device.

Desired outcome(s)

  • Be able to connect to the device using

Time Estimate

  • This section should take approximately 1-2 minutes.


Espressif has published full instructions for installing esptool. For Linux and Mac, run the following command:

pip3 install esptool


If you are unable to run from the command line, you may need to add the installed binary to your path:

Update previously installed versions

If is already installed on your system, please check that it is a recent version that supports the ESP32s2. Now is a great time for an upgrade!