This blog is includes the simplest method for using any an Arduino UNO, (or other another Arduino) as a programmer for the Atiny85. It covers 5 simple steps, and fixes to common issues

Step 1 – Wiring
It is essential to get the wiring right. If you are using an Atiny85 and Arduino UNO here is the simplest wiring you can do :
ATiny P0 → Arduino D11 (MOSI)
ATiny P1 → Arduino D12 (MISO)
ATiny P2 → Arduino D13 (SCK)
ATiny P5 → Arduino D10 (RESET)
ATtiny Pin 5v → Arduino 5V
ATtiny Pin GND → Arduino GND
Step 2 – Arduino IDE Setup
First, of all make sure you have ONLY 1 Arduino IDE window open, as having multiple will result in errors. On the top left, go to file → preferences → additional board manager URL, and paste this link:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

- Once you have added it, connect your Arduino UNO – Atiny85 contraption to your pc via cable. In tools → board, select your Arduino UNO, and in tools, press the “Burn Bootloader” option at the bottom.
- Go to file → examples→ Arduino ISP ; this should open a new Arduino IDE window. Make sure to close your other IDE window so the ISP example is the only thing you have open. Upload the code to the Arduino UNO. Your screen should look like this

- Close this window, and re-open Arduino IDE
- 1. In tools, Board, choose ATtiny25/45/85
2. Change the Clock: to “Internal 8 MHz
3. Choose ATtiny85 as the processor
4. Select Arduino as ISP as the Programmer

Step 3 – Demo Code
As a demo-code, to make sure everything is running, we will have the onboard LED of the ATtiny85 blink rapidly. Here is the sample code that you should paste in the IDE editor:
void setup() {
pinMode(1, OUTPUT); // P1
}
void loop() {
digitalWrite(1, HIGH);
delay(250);
digitalWrite(1, LOW);
delay(250);
}
Now, you should see something like this:

Step 4 – Uploading Code

Do NOT use the upload button to upload the code! Instead, go to:
sketch → Upload Using Programmer
if you followed all the steps carefully, you’re ATtiny85’s LED should now be blinking! From this point, you can add your own code, and make your own projects!