Default Rooting Nexus 7 without wugfresh toolkit?

I know how to root using Nexus Root Toolkit, I want to ask about any alternatives like using adb shell or other method.
Well, I am new to android development.