DEV Community

Khairun Nahar Nowrin
Khairun Nahar Nowrin

Posted on

Install Home brew in Mac M1/M2/M3

1st run



/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"



Enter fullscreen mode Exit fullscreen mode

The Homebrew installation script will ask you to enter your Mac user password. This is the password you use to sign into your Mac.

Image description

After that run



eval "$(/opt/homebrew/bin/brew shellenv)"



Enter fullscreen mode Exit fullscreen mode

Run



$ brew doctor



Enter fullscreen mode Exit fullscreen mode

To check the brew install successfully in your system RUN



$ brew doctor



Enter fullscreen mode Exit fullscreen mode

Image description

Top comments (0)