It installed on top of any firmware (except firmware with the build date is higher than installed)(but you can edit updater-script). It can be installed through TWRP. Do not check the current state of the system. Installed without resetting.
https://developers.google.com/android/nexus/ota
https://developers.google.com/android/nexus/ota