- Install Arduino IDE 1.0.6
- File > Preferences > Show verbose output during: upload (check) > OK
- Select the board from the Tools > Board menu
- Tools > Programmer > Arduino as ISP
- Tools > Burn Bootloader
After the process completes examine the output in the black console window at the bottom of the Arduino IDE window. You will need to scroll up to see it all. There you will find the necessary commands. Note that there are two processes. First the fuses are set. This only needs to be done once. Next the bootloader is flashed.