安装Brew
~ export HOMEBREW_BREW_GIT_REMOTE="..."
~ export HOMEBREW_CORE_GIT_REMOTE="..."
~ /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
安装Node
~ brew install nodejs
直接复制粘贴到Terminal - 需要翻墙
这个文章写的很详细 https://brew.idayer.com/