Roughly 24 hours after going official the LG Nexus 5 got the root treatment. The feat was accomplished by the renowned Android developer Chainfire.
At a quick glance, the root method appears easy to accomplish. It requires booting the Nexus 5 in fastboot mode and connecting it to your computer via a USB cable. Afterwards, executing a simple command is required to root the device.
You can find detailed instructions about rooting the Nexus 5 below. Be aware of the usual set of risks which the exercise carries. They include losing your data or bricking the device altogether.
Source | Via