I'm trying to install CyanogenMod on **Nexus 4** and so far I had done this:<br>
- installed google driver;<br>
- enabled developer options on my phone;<br>
- enabled debugging by USB;<br>
- unlocked my device using ADB;<br>
- installed CyanogenMod Recovery;

    PS C:\Program Files (x86)\Android\android-sdk\platform-tools> .\fastboot flash recovery .\cm-13.0-20160510-NIGHTLY-mako-
    recovery.img

- started bootloader;

Then I get the following error trying to push the file to the devuce:

    PS C:\Program Files (x86)\Android\android-sdk\platform-tools> .\fastboot devices
    01cf8682d9c98ac0        fastboot
    PS C:\Program Files (x86)\Android\android-sdk\platform-tools> .\adb push cm-13.0-20160510-NIGHTLY-mako.zip /sdcard
    error: device '(null)' not found

I followed [CyanogenMod instructions][1] step-by-step, including troubleshooting section, but I keep getting this error.

-----------------

**Update**: This works from Recovery mode:<br>
- Full factory reset<br>
and then:<br>
- Apply Update -> From ADB 

    .\adb sideload cm-13.0-20160510-NIGHTLY-mako.zip


  [1]: https://wiki.cyanogenmod.org/w/Install_CM_for_mako