When I used MacOS I had to spend at least as much time at the command line as I do with Linux. If we are going to rate OS's by how much time is needed at the command line I think Windows is likely to win that battle.
I found MacOS not any more usable or stable than Windows had been on my prior laptop. The hardware was less reliable than the Thinkpad my MacBook Pro replaced and repairs were outrageously expensive. I have switched back to a Thinkpad which recently had Windows replaced by Pop!_OS because as of kernel 5.17 the laptop finally gets similar battery life running Linux as it does Windows. I would never consider a MacBook again.
I honestly cant think of a single thing I've ever needed to drop to the command line to fix on a mac. Maybe changing time machine backup process priority so it would run faster? And that was a want, not a need.
Unless you mean _working from the command line_ rather than fixing issues with the OS from the command line?
I found MacOS not any more usable or stable than Windows had been on my prior laptop. The hardware was less reliable than the Thinkpad my MacBook Pro replaced and repairs were outrageously expensive. I have switched back to a Thinkpad which recently had Windows replaced by Pop!_OS because as of kernel 5.17 the laptop finally gets similar battery life running Linux as it does Windows. I would never consider a MacBook again.