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