Linux is quite different from macOS in many ways. They are both distantly inspired by "unix" (and Apple has managed to convince someone to let them use the trademark, so they really "are" unix, legally at least), but the similarity ends there.
It's a much better QOL thing I've found to just ssh into a remote Linux box from a Mac. The BSD stuff on macOS isn't bad at all, just an adjustment... and homebrew lets you get your environment however you'd like.
I am curious how long Apple is going to continue to support XQuartz though. There seems to be no equivalent wayland project.