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

-




Have Questions? Post them here!