1.安裝 brew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
2.安裝node
執(zhí)行語句: brew install node
如果一直失敗,F(xiàn)ailed to download resource "node"
先執(zhí)行: ?sudo chown -R $USER:admin /usr/local/*
后執(zhí)行:??brew install node