How to install Node using Brew on Mac

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

% brew install node

==> Downloading
==> 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!