it works with ESP32, ESP8266 and all NANO board "out of the box".
Just select the corresponding board and port into Arduino IDE.