Install Homebrew on M1 chip..!!

--

What Does Homebrew Do?

Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.

Installation

Curl the following command to download the script..!! to macOS Terminal or Linux shell prompt.

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

If it doesn’t work after this try this commands and it would work like magic.

cd /opt/homebrew/bin/

PATH=$PATH:/opt/homebrew/bin

cd

touch .zshrc

echo export PATH=$PATH:/opt/homebrew/bin >> .zshrc

By pasting this commands you’ll be editing the path and creating the missing .zshrc file and exporting the path to this new file.

Now you should be able to use brew for further usage..!!!!

Happy Coding.!!

Source: https://brew.sh/

Disclaimer:

The information published in this article is only for educational purposes. The content of this article is based on learning and experience. Any misuse of information will not be the responsibility of the author.

Edits are always welcomed…!!!!

--

--

i.hrishikesh nate

Security Researcher | Application Security | Linux | Bug Hunter