working detection of homebrew installation and packages to install