Mac上安装 brew 一句话搞定

1.安装 brew

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"


2.安装node

执行语句: brew install node

如果一直失败,Failed to download resource "node"

先执行:  sudo chown -R $USER:admin /usr/local/*

后执行:  brew install node

你可能感兴趣的:(Mac上安装 brew 一句话搞定)