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