How to Install esp8266 on Arduino - Erratums/ESP8266 GitHub Wiki
It's very easy to install ESP8266 in Arduino IDE
- Open Preferences from File Menu
- Click the button near to Additional Board URLs
- There paste
http://arduino.esp8266.com/stable/package_esp8266com_index.json
- If you already have some text in it, paste in new line
- Click OK on both windows
Once this is done, we need to install ESP8266 from Board Manager
- Open Board Manager from Tools Menu
- Search for esp8266 and install it.
The latest version seems to have some problems, so we are using version 2.5.0
Do not forget to select Generic ESP8266 Module
from the Board Manager
as shown below