What is x-code-select?
xcode-select is a command-line utility on macOS that controls the location of the developer directory used by xcrun, xcodebuild, cc, and other Xcode and BSD development tools 1. This also controls the locations that are searched for by man for developer tool manpages