installing command line tools on a mac code example Example: mac check command line tools version pkgutil --pkg-info=com.apple.pkg.CLTools_Executables