前提
PC初心者です。Macにhomebrewをインストールしたいのですが、上手くいかずに困っている状況です。
ターミナルで以下のコード貼り付けたのですが、最後の方に「Installation successful!」と表示されているにもかかわらず、試しに「brew help」と入力しても「zsh: command not found: brew」と表示されてしまいます。
貼り付けたコード
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
該当のソースコード
インストール終盤では以下のように、表示されました。
確かにInstallation successful!と書かれているのですが、なぜ正しくインストールできていないのかわかりません。
ご回答よろしくお願いします
HEAD is now at f041a59af Merge pull request #13547 from FnControlOption/patch-12 ==> Tapping homebrew/core remote: Enumerating objects: 1230163, done. remote: Counting objects: 100% (734/734), done. remote: Compressing objects: 100% (334/334), done. remote: Total 1230163 (delta 426), reused 696 (delta 400), pack-reused 1229429 Receiving objects: 100% (1230163/1230163), 494.23 MiB | 11.56 MiB/s, done. Resolving deltas: 100% (848970/848970), done. From https://github.com/Homebrew/homebrew-core * [new branch] master -> origin/master HEAD is now at dbe03ef50c7 pnpm: update 7.5.2 bottle. Warning: /opt/homebrew/bin is not in your PATH. Instructions on how to configure your shell for Homebrew can be found in the 'Next steps' section below. ==> 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: - Run these two commands in your terminal to add Homebrew to your PATH: echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/maedasusumuju/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" - Run brew help to get started - Further documentation: https://docs.brew.sh
回答1件
あなたの回答
tips
プレビュー