Write, compile and upload sketches
The Arduino IDE is the official tool for writing code (called "sketches") and uploading them to Arduino-compatible boards. The ESP32 is supported via the Board Manager.
You write C++ code, click Upload, and the IDE compiles it and flashes it to the board over USB.