Maybe you already have your Nexus 4. Maybe you have to wait three more weeks to get it. Or maybe you didn't get one before they sold out. Regardless of your particular situation, if a Nexus 4 is in your future (or present), there's a pretty good chance you're going to want to root and ROM it. And, honestly, not everyone is comfortable doing this kind of thing manually. Good news: the Nexus 4 toolkit is here!
We already know that Nexus devices are easy to unlock and root, but the process is still a bit different each time. Thus, XDA member HQRaja posted a handy guide on exactly how to root the Nexus 4.
There are two different ways of rooting the device - using either ADB with an insecure boot image, or directly through ClockworkMod Recovery. While both methods are posted in the source thread at XDA, the CWM method is undoubtedly easier and will probably feel more familiar to most.