PS. If you want to do the same for your HTC, these are the 5 things you need. Be aware that unlocking the bootloader will factory erase your device, so obviously back up your files and stuff first. It's also a requirement if you want to have the ability to slap other roms on it at some point.
Unlocking the bootloader:
-HTC Drivers installed (if you installed HTC sync on windows PC, the drivers were included)
-Minimal ADB&Fastboot pack (you can get this from xda)
-Account with HTCDev website to get the bootloader unlock token
Rooting:
-TWRP 3.0 recovery (you can get this from team win)
-SuperSU (also needed for cf lumen)