You will need linux or any flavor of linux like ubuntu ,centOS or fedora. If you dont have one check here to run it as virtual player on windows machine.
You will also need ruby and gem installed on linux, if you don't have it check here uptil step 11.
Now we are ready to download reward script and install, here are commands
$ git clone https://gist.github.com/db94986d168f7b35034b0d7ccba6f2b4.git stinkypete $ cd stinkypete $ bundle install
Once installed, we will now have to edit stinkypete.yml file, go to file explorer > stinkypete folder and open stinkypete.yml
We now have to replace social and posting_wif with our steemit account and posting key. You can also play with claim rules, I've set minimum vests required to claim as 0. Once done save and go back to terminal.
On terminal you now need to type following command.
$ ruby stinkypete.rb
You have now successfully claimed your Steem rewards! You can run this script manually or setup a cron job.