https://learn.adafruit.com/esp8266-temp ... r/overview
Unfortunately, Adafruit's tutorial is a little rusty. Ignore their instructions for setting up the Arduino IDE. Use there latest instructions from here.
https://github.com/esp8266/arduino#ardu ... -wifi-chip