Using Homebrew
brew install node
Using windows-nvm (Recommended) Follow nvm-windows official documentation
Using Chocolatey
choco nodejs.install
Follow Node Version Manager 🗗 official documentation
Node Package Manager (NPM) comes with the Node.js installation by default.
Install and update NPM, Yarn, Gulp, GruntJs, Firebase tools
npm install --global npm yarn gulp grunt firebase-tools
(windows only)
npm install --global --production windows-build-tools