1) Download the ATtiny core files from : https://github.com/damellis/attiny/archive/ide-1.0.x.zip
2)Locate your Arduino sketchbook folder (you can find its location in the preferences dialog in the Arduino software)
3)Create a new sub-folder called “hardware” in the sketchbook folder, if it doesn’t exist already.
4)Copy the “attiny” folder (not the containing attiny-ide-1.6.x or attiny-1.0.x folder) from the unzipped ATtiny.zip to the “hardware” folder. You should end up with folder structure like Documents > Arduino > hardware > attiny > avr that contains the file boards.txt and another folder called variants. (For Arduino 1.0.x, the boards.txt and other files will be directly in the attiny folder, with no avr sub-folder.)
5)Restart the Arduino development environment.
6)You should see an ATtiny entry in the Tools > Board menu.
7)Open the ArduinoISP sketch from the examples menu.
8)Select the board and serial port that correspond to your Arduino board.
9)Upload the ArduinoISP sketch.
10)CONNECT YOUR BOARD-SHIELD TO YOUR ARDUINO BOARD (Till now you shouldn't have connected it).
11)Go To Tools>Programmer>Arduino as ISP
12)Select your ATtiny from the Tools>Board
13)Select the Blink Example and change this line "int led=13" to "int led=4"
14)Upload It (I got these 2 errors but nothing happened " avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45")
We have programmed our led to blink from pin4, because if you see the schematic of the ATtiny pin order, that's where we connected our led.
You Are READY!