Install the latest firmware onto your ESP32.
Connect your ESP32 via USB, then click install.
The installer asks whether to erase the device first. Leave Erase device unticked to keep your Wi-Fi details and weather-provider API keys when upgrading. Tick it for a first-time install, or to start again from a clean slate.