执行ruby -e "$(curl -fsSL https://raw.githubusercontent...)"
==>此脚本将安装:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/站点功能/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
按 RETURN 继续或按任何其他键中止
==>下载并安装 Homebrew...
/usr/local/Homebrew/.git:权限被拒绝
失败期间:git init -q
nodejs不是有安装版本的吗?试一下安装版本的
命令前加 sudo 再试试
折腾好久,问题:/usr/local/Homebrew/没有权限。解决sudo chown -R