初心者のものです。
ターミナルにhomebrewをインストールしたいのですが、エラーが出てきます。
情弱ですみませんが、誰か教えていただけますでしょうか。
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
Press RETURN to continue or any other key to abort
==> Downloading and installing Homebrew...
/usr/local/Homebrew/.git: Permission denied
Failed during: git init -q
どうすれば良いのでしょうか。
お願いします。