> macOS is probably the best choice since it provides a native Unix environment
And the first thing I do is install the gnu coreutils because it still ships really old BSD utils, and everything expects linux-isms now.
In that regard, macOS is worse than Windows+WSL which at least is real Linux with a real package manager. macOS being better OOTB was true Pre-WSL/Windows 7 era where your choices were macOS for a UNIX with a really nice desktop environment and working sound, or taking a gamble with Linux on your hardware and praying everything worked. Windows was a non-starter for any development that wasn't win32, lest you were a masochist that wanted to deal with Cygwin and the like.
I say this as someone still all-in on the "Apple Ecosystem" across all devices, Apple fans that are also developers all seem to be blind to the ways Apple has been slowly boiling the frog and making macOS hostile to developers in all other aspects of the OS outside of it having a unix terminal. Apple is outright hostile to developers at times.
And the first thing I do is install the gnu coreutils because it still ships really old BSD utils, and everything expects linux-isms now.
In that regard, macOS is worse than Windows+WSL which at least is real Linux with a real package manager. macOS being better OOTB was true Pre-WSL/Windows 7 era where your choices were macOS for a UNIX with a really nice desktop environment and working sound, or taking a gamble with Linux on your hardware and praying everything worked. Windows was a non-starter for any development that wasn't win32, lest you were a masochist that wanted to deal with Cygwin and the like.
I say this as someone still all-in on the "Apple Ecosystem" across all devices, Apple fans that are also developers all seem to be blind to the ways Apple has been slowly boiling the frog and making macOS hostile to developers in all other aspects of the OS outside of it having a unix terminal. Apple is outright hostile to developers at times.