The short version: install Arduino IDE → add the ESP32 boards URL → install the esp32 package → pick the DOIT ESP32 DEVKIT V1 board and its port → upload a test sketch.
1Install the Arduino IDE
Download and install the Arduino IDE from arduino.cc/en/software. Either the classic 1.8.x or the newer 2.x works.
2Add the ESP32 "Boards Manager URL"
Open File → Preferences:
File → Preferences
In Additional Boards Manager URLs, paste this and click OK:
Paste the URL into the Additional Boards Manager URLs field.
Already have an ESP8266 URL there? Separate multiple URLs with a comma.
3Install the ESP32 package
Open Tools → Board → Boards Manager…:
Tools → Board → Boards Manager…
Search esp32, find "esp32 by Espressif Systems", click Install:
Install the esp32 package (takes a minute or two).When it shows INSTALLED, you're done.
4Select the board and port
Plug the ESP32 in with a data USB cable, then:
Tools → Board → choose "DOIT ESP32 DEVKIT V1":
Select the board.
Tools → Port → choose the port (e.g. COM4 on Windows, /dev/ttyUSB0 on Linux):
Select the port.
No port showing? Install the CP210x USB‑to‑UART driver (this board's chip is a CP2102) — the repo folder Install CP2101 drivers Windows has it. Some boards use a CH340 chip instead.
5Test with the WiFiScan example
Open File → Examples → WiFi (ESP32) → WiFiScan:
File → Examples → WiFi (ESP32) → WiFiScanThe example opens in a new window.
Click Upload (→) and wait for "Done uploading.":
Upload succeeded.
Open Serial Monitor at 115200, press EN/RESET, and watch nearby Wi‑Fi networks appear:
If you see networks, your toolchain works. 🎉
6If an upload won't connect
Sometimes uploading stalls with "Failed to connect to ESP32: … Connecting…":
Stuck at "Connecting…" — use the BOOT trick.
Press and hold BOOT.
Click Upload.
When "Connecting…" appears, release BOOT.
After "Done uploading", press EN/RESET to run the sketch.
The BOOT button.
Reminders for every project
Baud rate is always 115200 — set the Serial Monitor to match.
Some projects need libraries (DHT, Adafruit GFX/SSD1306, ESPAsyncWebServer, AsyncTCP). Each such project lists exactly what to install.
Wi‑Fi projects need your network name & password typed into the sketch before uploading.