Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew command not found #18

Closed
justaddcl opened this issue Aug 16, 2023 · 1 comment · Fixed by #41
Closed

brew command not found #18

justaddcl opened this issue Aug 16, 2023 · 1 comment · Fixed by #41
Assignees

Comments

@justaddcl
Copy link
Owner

Even though homebrew is installed through the script, in the Adding additional Homebrew taps step, the script throws an brew: command not found.

The fix was to run the two commands that the homebrew install lists in the Next steps section at the end of the homebrew install:

(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/${user}/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

but the script should automatically run these commands after the homebrew install has completed to not cause the script to thrown an error.

@justaddcl justaddcl self-assigned this Aug 16, 2023
@justaddcl
Copy link
Owner Author

This might be solved by running the installer in non-interactive mode!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant