you need adb files common for every Android phone
install Motorola drivers and connect to USB in fastboot mode.
first unlock the boot loader via Motorola site
(instructions for that is there in their site)
now install custom recovery twrp
with commands in adb folder (shift+right click)
fastboot flash recovery.IMG
now download superSU zip and flash it. you are done.
help me with thanks if I helped you.