1. Open the terminal and run the following command to install Homebrew

Ruby – e “$(curl – fsSL raw.githubusercontent.com/Homebrew/in…). “

Brew install node //sudo with admin permission