In this tutorial, you will learn how to set up the Arduino IDE to work with your Arduino board (works will most Arduino boards).
Install the Arduino IDE software (http://arduino.cc/en/Main/Software).
Take your Arduino out of the box.
Plug the USB cable into your computer.
Locate the COM port by going to computer> device manager.
Choose Ports (COM & LPT).
Right click on the COM port> Update Driver software > then "Browse my computer for driver software".
At this point, you need to find the file location for the Arduino IDE software, then select the driver folder and click OK, then Next. You computer should locate the file, then click Close. The COM port should then identify itself as Arduino.
Open the Arduino IDE software.
Configure the Arduino IDE software. We are going to configure the software to work with our selected development board. For this tutorial, we are using the Arduino Uno R3.
Click Tools> Board > Arduino Uno.
Configure the software to work with the specific COM port. Click Tools> Serial Port>
Note: You will use the com number you found in step 3.
...Now you are ready to upload a sketch. Here is a tutorial to upload a sketch