check or install homebrew at the first time