I will say Install Arduino IDE Raspberry Pi 3 B+ with ESP8266 Nodemcu. ESP8266 NodeMCU is the smallest & cheapest IoT Development board. Price is only starting from $2. There is two chipset model available, one is CH340 and another one is CP2102. You can buy it from the following links.
Buy Link
CH340 AliExpress Amazon
CP2102 AliExpress Amazon
In this post, I will tell how to configure & upload code in ESP8266 from Arduino IDE in Raspbian OS of Raspberry Pi 3B+. This is for the absolute beginners who are very new to this device. You can also see the tutorial video in Hindi.
Download Arduino IDE
First go to the following link and download setup files for your system.
https://www.arduino.cc/en/Main/Software

Here select the Linux ARM Version and download the file in .tar.xz format.
Now extract the file & open the extracted folder.

Now Press F4 and open terminal on that folder.

Then run the following command to create a desktop and start menu launcher shortcut. If you do not want to create shortcut then skip this step and click the file named “
1 | sh install.sh |
Now you are done. Arduino IDE has been installed successfully.
Arduino IDE Raspberry Pi 3 B+
To add ESP8266 Nodemcu module in the IDE, we have to go preferences from the file menu.

Now paste the following URL to the Additional board manager URL.
https://arduino.esp8266.com/stable/package_esp8266com_index.json

Now go to Tools > Board > Board manager.

Now type esp8266 in search bar. Then select latest stable build & install.

Now from the tools menu do the following settings.
Board: Generic ESP8266 Module
Flash Mode: DOUT
Reset Method:
Flash Size: 4M(1M SPIFFS)
ESP8266 generally comes with 32 Mb(4M). We reserve 1M for the file store for file
Now from the examples chose basic LED blinking program to upload in Nodemcu.
Now connect ESP8266 via micro USB to USB data cable.
Select port from the tools menu. Normally the port is /dev/ttyUSB0
Now Click the Right arrow icon to upload the code. Arduino IDE Raspberry Pi 3 B+

Now you have successfully uploaded the code & built-in LED will start blinking.

If you are facing “cannot access /dev/ttyUSB0”, then follow the Post below.
How to fix cannot access /dev/ttyUSB0 in Arduino IDE
If you wanted to create a bin file from Arduino IDE and flash it into ESP8266, then follow these posts.
How to create bin file from Arduino IDElash bin file to ESP8266 from Windows OSF