Arduino IDE Configuration for NodeMCU ESP8266
Step 1: Update Preferences - Additional Boards Manager URL
After installing Arduino IDE downloaded from its official website, add the below URL under preferences.
Step 2: Download ESP8266 Package
Type "ESP8266" in the board manager search and install the latest version available.
Step 3: Select the Board
Set to latest available board(NodeMCU 1.0)
Step 4: Port Selection
Once the boards are installed, make sure to select the Port(COM1) under Tools menu appropriately
Step 5: Verify the Setup
Download and compile the arduino sketch. If the compilation is successful then we are almost done.
Step 6: See It Working in Action.!
In case you want to see your NodeMCU and ESP8266 is working then you just have to flash your NodeMCU with the code you have already downloaded in the previous step.