add this:

https://arduino.esp8266.com/stable/package_esp8266com_index.json

then go to board manager and install