upvote
`xcode-select --install` is all I've ever used. But I suppose it requires an Apple Account to download XCode from the App Store.
reply