optからusr/localへの変更について

homebrewのinstallをusr/localにしたいです。

そのため
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
をターミナルで実行しました。

実行すると下記のようなログが流れます。
ログを見るとhomebrewはusr/localではなくoptにinstallされています。

PATH=/usr/local/bin:$PATHでpathを変更してもusr/localに切り替わりません。

どうしたらusr/localに切り替えれますか。

==> Checking for sudo access (which may request your password)...
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew

Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /usr/sbin/chown -R user:admin /opt/homebrew
==> Downloading and installing Homebrew...
HEAD is now at 3be7a6548 Merge pull request #13730 from apainintheneck/handle-no-cleanup-formulae-in-autoremove
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations

==> Next steps:

コメントを投稿

0 コメント