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
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 一句话搞定
本文链接:https://www.haomeiwen.com/subject/fqdbdktx.html
网友评论