Question: how to transfer data from icloud to my mac?
Answer: You can move files from iCloud Drive to your Mac as you need them, or select all of your files and drag them to the place you want to keep them. From your Mac, choose Apple menu  > System Preferences. Click Apple ID, then click iCloud.