2. In Arduino Ide open file, then goto preferences, then add https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package ...