For installing CyanogenMod 11on Moto G, your device must be unlocked and custom recovery such as CWM/TWRP installed. This guide may help you unlock and install custom recovery on Moto G. Further details available at source.
Important: Backup your contacts, SMS, and other data using apps like Titanium Backup. Also, make Nandroid back up via custom recovery. Requisites: – CyanogenMod 11 rom .zip (code-named falcon) – download from here – Google Apps package – download from here Installation Guide
- Copy the downloaded CyanogenMod rom .zip and Gapps file on the root of the SD card.
- Boot Moto G into recovery mode by holding Volume down and Power button simultaneously.
- On the next screen, use Volume Down to scroll to Recovery and then use Volume Up to select.
- From the recovery mode, select the option wipe data/factory reset (use volume button to select and confirm the selection with power button).
- Then, select install zip from sdcard, and then select choose zip from sdcard.
- Select the CyanogenMod file you placed on the sdcard and flash this file. Similarly, flash the Gapps file as well.
- Once the installation has finished, return back to the main menu, and select the reboot system now option. The device should now boot into CyanogenMod. Important Note: As this ROM is nightly build (developing build), you should be aware of the pitfalls associated with it. You may find stability is not up to scratch compared with the stock ROM, so we would suggest only install it on a device that you don’t use as your first phone. (source)