Been forced to use mac for like two years now. Have not figured it out.
Command is like Ctrl, not Control. Option is like AltGr... Almost. But there is no left or right separation (alt/altgr). Option cannot be used as a modifier like on linux like super can. I use a windows keyboard and move command to ctrl, control to super, and option to alt.
Then if you ever gotten used to the two clipboards that linux has (highlight + middleclick & ctrl+c/ctrl+v), only one remains but some terminals emulate this behaviour. I would suggest you turn it off right away, because it gets very confusing.
I have used brew for a package manager. It is not great. I had issues where a package upgrade would break my workflow but it did not keep an older version for a downgrade. If it was my personal mac, and for some reason I would keep macos on it, then I would try nix as a package manager instead. Also, if you use bash or not, you probably want to install latest bash (mac only ships with a very old bash).
I have not found a terminal emulator I really like, but I use kitty since it allows me to remap some keys. I suggest you start looking for a terminal that you like right away.
Like setting option + number as a move tab-group in firefox for example, as that injects characters in open text fields