Node.js is a server-side platform built on Chrome’s JavaScript runtime for easily building fast & scalable network applications.

► Play

On Linux (RHEL / CentOS)

  1. Add Node.js Yum Repository

# yum update

# yum install -y gcc-c++ make

# curl -sL https://rpm.nodesource.com/setup_12.x | sudo -E bash – 

  1. Install Node.js

            # yum install nodejs

On Linux (Debian / Ubuntu)

  1. Update packages

            # apt update 

  1. Install Node.js & npm

# apt install nodejs

# apt install npm

On Unix based systems eg. Mac

  1. Update brew

# brew update

  1. Install Node.js & npm

# brew install node 

On Windows

  1. To install Node.js, visit https://nodejs.org/en/download/ and download the .msi version as per your system’s architecture (32/64 bit)
  1. Run the installer & complete the installation as in-general
  1. To install npm, open command prompt (cmd) with administrator privileges and run below command:

@’%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe’ -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command ‘iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1′))’ && SET ‘PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin’

Send us a feedback0/500

Do you like this article?
Yes
No