If you want to root your Transformer Prime on a Mac or Linux, no worries as I wrote a simple bash script that automates the process.
First, you will need a Mac or Linux computer/laptop. For Windows, see How to Root Transformer Prime on Windows.
Step 1. Go to Settings->Developer Options and make sure USB Debugging is checked ON. Connect your Transformer Prime to your Mac or Linux computer.
Step 2. Download TransformerPrimeRootICSMacLinux.zip