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