Note, if you are going to use Visual Studio Code then you can let its Espressif plugin handle installing ESP-IDF – see here

Espressif guides

Setting up a Windows PC to program the ESP32

Create the required GNU-compatible environment with toolchain (the programs to compile and build your applications)

Download the Windows all-in-one toolchain from

Use the Universal installer.

Pre-installation system check

If the Apply Fixes button is enabled, let the installer apply the fixes it needs and then re-check your system setup.

Selecting software packages

Ensure ESP-IDF is selected

Once installation is complete


Windows start menu and desktop will have a new “ESP-IDF x.x CMD” shortcut added.
Opens the Command Prompt and sets up all the required environment variables.

ESP-IDF x.x PowerShell

Windows start menu and desktop will have a new “ESP-IDF x.x PowerShell” shortcut added.
Opens PowerShell and sets up all the required environment variables.


Will be located in: C:\Espressif\frameworks\esp-idf-vX.X.X\examples

Important notes

  • The ESP-IDF build system does not support spaces in the paths to projects.

Where things are installed



Path to Python


Updating Packages

Updating ESP-IDF

See “Updating ESP-IDF” on this page:

We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.


Your email address will not be published. Required fields are marked *