I went from Linux to a Mac for work years ago. Install home brew on day one and the experience overall will be much better.
The terminal on the Mac is surprisingly good. I felt right at home with it very quickly. Xcode comes with cli tooling to build software without a lot of messing with it and finding library dlls (looking at you, windows)
The window placement philosophy takes some getting used to (see yabai for a viable tiling window solution though) and the key modifiers will frustrate you (though I eventually ended up liking cmd a lot).
Overall though I feel like Mac gets a lot of hate where it’s not deserved. I still hate their business model, and my personal laptop is Linux for that reason, but the product itself is fine.