How to Setup Home-brew on macOS Monterey 12


Setup home brew in macOS Monterey 12
Setup home brew in macOS Monterey 12

To install packages such as PHP, npm, python, java, etc for your day-to-day code development, you would need to install a package manager such as Homebrew on your macOS.

✌️brew is not installed by default on macOS Monterey - If you try to run brew command in Terminal you will get zsh: command not installed: brew error.

Installing homebrew on macOS Monterey 12:

  1. Open Terminal,
  2. Run the below command:
  3. % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

To test if brew has been installed properly on your Mac type the command brew --version

% brew --version

Homebrew 3.2.9
Homebrew/homebrew-core (git revision 2c8b629843; last commit 2021-08-23)
Homebrew/homebrew-cask (git revision 8e9bdbf9fc; last commit 2021-08-23)


















Copyright Β© Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap