How much disk space do the "command line developer tools" take up? When I run git --version in the Terminal, I get prompted to install the &quot;command line developer tools&quot;:

What exactly do I get from these &quot;command line developer tools&quot;, and how much disk space will the installation use up? I don't want to drag along a whole bunch of useless programs just because I want to use a single command.
(Assume that I do not want to use Homebrew, for whatever reason. The question is asking about the disk space used up by an installation of Apple's &quot;command line developer tools&quot;).
The installer says it requires 2.72 Gb of space. It installs a variety of Unix tools for compiling software, and other advanced usage (such as git) on the command line, including 'many other useful commands that are usually found in default linux installations' (osxdaily.com). It also includes the SDK frameworks and header files for macOS APIs. And python3.
Separating out what it is exactly that you need and what you don't is not really feasible, and may cause errors. Presumably, you're doing some kind of scripting/programming, for which other tools in the CLDT might be useful.