Download and install software: https://www.arduino.cc/en/software/
Step 1: Go to file, then edit preferences.
Copy and Paste this link in the settings:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Step 2: Connect Arduino (hardware) and the computer using a type C cable. Click Tools, then custom the Port
Step 3: Click Board Manager, then type esp8266. Install the ESP8266 board. Note: Select the board by ESP8266 Community version 3.1.2, if it is possible.
Step 4: Click Tools, then select Board. Find esp8266
Step 5: Finally, we can use this information to continue starting the projects:
https://drive.google.com/drive/folders/1jMktfQLyv-axXpHnUzBzCFqHcC8CmYMT?usp=drive_link