Windows Installer from arduino.ccStart Git GUI and run through the following steps:
Select Clone Existing Repository
Select source and destination
C:/Users/[YOUR_USER_NAME]/Documents/Arduino and is listed underneath the "Sketchbook location" in Arduino preferences.https://github.com/espressif/arduino-esp32.git[ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32Click Clone to start cloning the repository
open a Git Bash session pointing to [ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32 and execute git submodule update --init --recursive
Open [ARDUINO_SKETCHBOOK_DIR]/hardware/espressif/esp32/tools and double-click get.exe
When get.exe finishes, you should see the following files in the directory
Plug your ESP32 board and wait for the drivers to install (or install manually any that might be required)
Start Arduino IDE
Select your board in Tools > Board menu
Select the COM port that the board is attached to
Compile and upload (You might need to hold the boot button while uploading)