Question: how do i remove photos from my mac but keep them in icloud?
Answer: On your iPhone, iPad, or iPod touch, go to Settings > [your name] > iCloud > Manage Storage > Photos, then tap Disable and Delete.
On your Mac, go to Apple menu > System Preferences > iCloud.