Skip to content

[Mac][Brew] Brew packages cannot be installed after brew installation in the same shell #4

@rucker

Description

@rucker

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions