今回の問題
homebrewインストールするために以下コマンドを打ったがwarningが表示されてしまう
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
途中までは成功かと思われたが出力の途中でWarningが表示された
エラー内容一部抜粋
Warning: /opt/homebrew/bin is not in your PATH.
対策
パスが通ってないのでパスを通してあげる
以下コマンドを打てば良い。
export PATH="$PATH:/opt/homebrew/bin"
その後以下のコマンドでバージョンが表示されればOK
brew --version