running elasticsearch locally brew code example Example: set up elasticsearch mac brew tap elastic/tap