installing and starting elasticsearch on mac code example Example: set up elasticsearch mac brew tap elastic/tap