% brew --versionzsh: command not found: brew
% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"==> Checking for `sudo` access (which may request your password)...Password:<macOS ユーザのパスワード>==> This script will install:/opt/homebrew/bin/brew/opt/homebrew/share/doc/homebrew/opt/homebrew/share/man/man1/brew.1<以下略>
Warning: /opt/homebrew/bin is not in your PATH.Instructions on how to configure your shell for Homebrewcan be found in the 'Next steps' section below.
% echo >> /Users/hogehoge/.zprofile% echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/hogehoge/.zprofile% eval "$(/opt/homebrew/bin/brew shellenv)"
% brew --versionHomebrew 4.4.4