April 5, 2020 • ☕️ 1 min read
First, we need to install homebrew in MAC
Please execute the below command in terminal to install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Run brew update to update brew to latest version
Run brew doctor as a safe measure to make sure your system is ready to brew
Now execute the below command in terminal to install nodeJs
brew install node
Installing NodeJs and NPM can be done like any other windows application using the installer downloaded from Node.js website.
Observe that Setup window shows following packages: