If you find that your board isn’t showing up in ports and you’re getting this error:
error: espcomm_open failed
error: espcomm_upload_mem failed
First install the Silicon Labs CP2102 USB to UART Bridge driver for your operating system.
Then follow the instructions here to add the ESP8266 board to the Arduino IDE.