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