Test if brew is available before loading nvm