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`...

If you do not have brew installed you will get an error, zsh: command not found brew
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!