How to install Node using Brew on Mac


To install Node on Mac using brew, run the command brew install node.

Example:
% brew install node

==> Downloading https://ghcr.io/v2/homebrew/core/brotli/manifests/1.0.9
...
==> Installing dependencies for node: brotli, c-ares, icu4c, libnghttp2, libuv, ca-certificates and openssl@1.1
...
Installing node
/opt/homebrew/Cellar/node/18.8.0: 1,984 files, 48.3MB
==> Running `brew cleanup node`...
Install Node using Brew on Mac

If you do not have brew installed you will get an error, zsh: command not found brew

How to install brew on Mac

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















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