neuefische / web-setup

💻 macOS setup using zsh for the web development course
30 stars 5 forks source link

General Setup Script - add Homebrew to PATH #2

Closed ahohnsen closed 1 year ago

ahohnsen commented 1 year ago

I updated to macOs Ventura and ran the General Setup Script afterwards.

I had the following problem:

/opt/homebrew/bin is not in your PATH.

command not found: brew

I fixed this by:

Maybe there is a way to pause the script until the user has copied the three commands to add Homebrew to the PATH before it continues with the installation of the other tools/apps. As far as I remember, we always had to run these commands manually, so this should not be related to the macOs Ventura update.

Screenshot 2023-01-06 at 16 51 59

mpagels commented 1 year ago

Very good catch. I recommend putting these three lines in the setup script.

Acceptance criteria

I will do that.

PReichetanz commented 1 year ago

Great, thank you @mpagels!