how to use the icloud photo library?
Turn on iCloud Photos On your Mac, go to System Preferences > Apple ID. Click iCloud in the sidebar, then select Photos. If you have an earlier version of macOS, go to System Preferences > iCloud. Click Options next to Photos, then select iCloud Photos.