How to flash esp01?

WiFi enabled boards such as the NodeMCU/Wemos D1 Mini are very cheap.
There are also many advantages to an all-in-one setup as it gives things like OTA updates.
You should read this…

Pete.