`xcode-select --install` is all I've ever used. But I suppose it requires an Apple Account to download XCode from the App Store.
yeah but there's some hope https://xtool.sh/documentation/xtool/
yeah but there's some hope https://xtool.sh/documentation/xtool/