When running brew: if Homebrew was not previously installed, package installation cannot then be performed until a new shell is spawned. Relevant Homebrew installation output:
==> Next steps:
- Run these commands in your terminal to add Homebrew to your PATH:
echo >> /Users/user/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/user/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
If this can't be fixed, a warning could at least be printed with a message to the effect of: Please start a new shell, terminal, etc and run this script again.
When running
brew: if Homebrew was not previously installed, package installation cannot then be performed until a new shell is spawned. Relevant Homebrew installation output:If this can't be fixed, a warning could at least be printed with a message to the effect of: Please start a new shell, terminal, etc and run this script again.