Before starting the installation procedure, make sure you have the latest version of the Arduino IDE installed in your system.
To install the ESP32 board in your Arduino IDE,
- Open Arduino IDE, go to File> Preferences.
Enter https://dl.espressif.com/dl/package_esp32_index.json into the “Additional Board Manager URLs” field as shown in the figure below. Then, click on “OK”.
Note: if you already have the ESP8266 boards URL, you can separate the URLs with a comma which is as follows:
Go to Tools > Board > Boards Manager, this is where we will be installing the esp32 board.
Search for ESP32 and you can see “ESP32 by Espressif Systems“ being displayed. click on install.
After few seconds, the board will be installed.