mac终端安装node时候,显示“-bash: brew: command not found”,怎么解决?
先安装brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
没安装 Homebrew
bash 下执行 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"