install command line tools mac code example
Example 1: install xcode-select cmd
xcode-select --install
Example 2: mac check command line tools version
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
xcode-select --install
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables