Question: how to download entire icloud photo library?
Answer: Open the Photos app.
Tap Select, then tap a photo or video. Tap more than one to select multiple photos or videos, or tap Select All to select your entire library.
Tap More in the lower-right of your screen.
Choose Download, then tap Download to confirm.