If I had brew on iOS, I'd be more than happy. Alas, I don't want to jailbreak though ..
I never installed any of those alternative UNIX toolchains. Apple SDK + native macOS tooling are more than enough.
This was the target of the WSL that Microsoft added to Windows. They won me. GNU/Linux with good UI, good software support and that doesn't break every month. It's like we're living in the future.
And as gateway drug into Azure as well, most likely.
I never had any use for SUA during all these years doing Windows development.
I just find MacOS 100x more useful because of homebrew, and frustrating without it.
The reason is, I can blow away the OS, restore a fresh install, and then re-install everything I need with a single command. This is highly empowering: I don't have to be a mouse-monkey to get everything set up, and can do other things meanwhile.
Doesn't mean MacOS is 'bad' - sure, others can get their systems set up however they want. App Store installs are fine, if you have the time to sit there, driving your system through everything ..