I was a long time Linux user that switched to Mac, and it was pretty simple. Using homebrew as a package manager makes things remarkably similar to Linux. Like the other commenter said, the biggest hurdle was getting used to cmd+{key} instead of ctrl+{key}.
I've got an M1 with 24gb of ram and it works great.
What more is it than just that?