Command Line Tools for Xcode is a separate smaller package than the full graphical Xcode tho: `xcode-select --install`