Yes, and as a linux admin and user who is stuck on MacOS for work, it drives me absolutely nuts, even more so when people defend apple or microsoft with justifications that the other does it. They both suck.
I don't really think being told to run `xcode-select --install` is worse than being thrown into the Microsoft Store, because one is a flow-breaking action, and the other is not. If I'm at a Terminal and I don't have something installed, the fastest way to resolve the problem is with a Terminal command.
It's not that simple. That command forced me over to the app-store to log into my apple id the last time I ran it for example. You may run it enough or be inside the ecosystem enough that you haven't run into that, but then when my apple-id had errors (I don't buy apps, and only have it because apple forces you to, so I almost never log in with it), I couldn't install xcode... and had to go find a fix on some random forums. Now that I finally fixed all that, the updates are smoother, but it wasn't a pleasent initial experience and did not allow me to stay in the terminal.