It usually doesn’t take long for new devices to be rooted, much less if it’s a Nexus we are talking about. So what we are trying to say here is that the new Nexus 5 has just been rooted, all courtesy of XDA Elite Recognized Developer Chainfire!
The root status was achieved with only a few fastboot shell commands, involving a bootloader unlock. That said, in order to root the Nexus 5, you have to unlock it first, meaning your device will be completely wiped to the ground in the process. Chainfire packed those simple commands in a shell script called CF-Auto-Root intended for “rooting beginners”. It’s available for the three major desktop operating systems Windows, Linux and Mac OS.
To read more about rooting a Nexus 5, follow the source link, which will lead you to Chainfire’s thread on XDA-Developers.