Installation

Installation

  1. Go to the official NodeJS and download the latest version for your OS.
  2. On windows, double click the node-*.msi file and follow the installation steps to install NodeJS on your machine.
  3. On MacOS, double-click the downloaded node-*.pkg file and follow the installation steps to install NodeJS on your machine.
  4. On Linux, you can install by using the below command
sudo apt-get install nodejs

How to verify the installation

You can check the installation by displaying the version of NodeJS installed on your machine.

node -v