title: Fixing zsh command not found: brew? (installing Homebrew)
body: <p>I am trying to install Homebrew onto my M1 Mac. My default shell is zsh and I want to keep it that way. I ran:
  <code>ruby -e &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot;</code></p>
  <p>and it said the installation was successful however after trying the command <code>brew doctor</code> and <code>brew help</code> both returned the error zsh: command not found: brew</p>
  <p>I don't know a whole lot about shells or programming so anything I can try would be helpful.</p>
  <p>I then was about to try un/re installing it and ran:
  <code>ruby -e &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)&quot;</code>
  but a warning came up to migrate to this command:<br />
  <code>/bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)&quot;</code></p>
  <p>this leads me to believe maybe it is just located in the wrong shell?</p>