How to install brew on macOS Ventura

Install Brew on macOS Ventura

Note: This works on both M1/M2 Apple Silicon Chip Mac!

In order to install brew (homebrew) on macOS Ventura, simply run the below script in your Mac Terminal Application,

/bin/bash -c "$(curl -fsSL"

% /bin/bash -c "$(curl -fsSL"
==> Checking for `sudo` access (which may request your password)...
==> You are using macOS 13.0.
==> We do not provide support for this pre-release version.
This installation may not succeed.
After installation, you will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving any
issues you experience while you are running this pre-release version.

==> This script will install:
==> The following new directories will be created:

Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /bin/mkdir -p /opt/homebrew/Cellar /opt/homebrew/Caskroom
==> /usr/bin/sudo /bin/chmod ug=rwx /opt/homebrew/Cellar /opt/homebrew/Caskroom
==> /usr/bin/sudo /bin/chmod g+rwx /Users/c2c/Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown -R code2care /Users/c2c/Library/Caches/Homebrew
==> Downloading and installing Homebrew...

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.