1.安装brew 1.1nodejs brew的安装目录在/usr/local/Cellar,我们以安装nodejs为例子,只需要执行: brewinstallnodejs 1.2brew 使用中科大源安装brew /usr/bin/ruby-e"$(curl-fsSLhttps://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)" 备选2 /bin/zsh-c"$(curl-fsSLhttps://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 备选3 /...