Those who purchased a Nexus 4 from Google did that with a reason and root has landed, as expected. Of course, if you’re familiar with rooting procedures, this will not feel like rocket science. There are currently two ways of rooting your pure-Android and one implies booting with an insecure boot image and manually transferring root files to the device via ADB while the other relies on using ClockworkMod recovery to flash a zip file containing root files. Check out the source link below to find out more about both ways to achieve it.
And, while we’re talking about ClockworkMOD Recovery, both the Nexus 4 and the Nexus 10 now have their official bits. Unfortunately the ROM Manager procedure is not working as it should for the moment but that shouldn’t stop you from applying the good-old manual way.