The Arduino IDE is a program that you run on your Windows, Mac, or Linux PC that lets you type in your program and then upload it to your Arduino board over USB. To install the Arduino IDE, follow the instructions.
Go to this site- https://www.arduino.cc/en/Main/Software
Select version and download based on the operating system from the option available on right side.
[preferably use “Win 7 and newer ”(for windows only)]
The downloaded files may be installed and the Integrated Development Environment is now ready to use.
Arduino IDE Tutorial
Testing & Getting Started
Prerequisites- Already downloaded and installed Arduino Integrated Development Environment
Open Your First Sketch in Arduino IDE
Connect the following circuit.
Open the LED blink example sketch: File > Examples >01.Basics > Blink.
Step – 3
The below shown code should appear.
Step – 4
Select your board type and port.