URL: “https://dl.espressif.com/dl/package_esp32_index.json” into the “Additional Board Manager URLs” box
In the board manager dialog box, click on the search bar. Then type “ESP32” and hit enter. Now select and click on the install button for “ESP32 by Espressif systems”