Here I just made a simple script using CASCADE by @AdamOutler.
It will flash TWRP onto your device.
Make sure you have adb drivers,java installed and USB Debugging enabled.
Just run the script and it will do the job.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?