install node mac
brew install node #Homebrew required
install node.js on mac
// 1. Install Homebrew on a Mac by first installing Xcode
// 2. Install Xcode at
https://apps.apple.com/us/app/xcode/id497799835?ls=1&mt=12
// 3. Open the Terminal app.
// 4. Type:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
// 5. Open the Terminal app and type:
brew update
// This updates Homebrew with a list of the latest version of Node.
// 6. Type:
brew install node
// 7. Sit back and wait. Homebrew has to download some files and install them. But that’s it.
// 8. Test Node. To see if Node is installed, type:
node -v
// in Terminal. This should print the version number so you’ll see something like this v0.10.31.
// 9. Test NPM. To see if NPM is installed, type:
npm -v
// in Terminal. This should print the version number so you’ll see something like this 1.4.27
// 10. Test node
node test-node.js
how to run node js on mac
node test-node.js
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us