For my part, I flash the ESP32 or ESP32-S3 from the command line from Linux without any problems and I don't need a web interface.
I find it very simple.
When the firmware is compiled, the choice is offered to upload it via UART or IP.
esphome run jk-bms-can.yaml
To flash an ESP32 already in...