Installation
Installation
- Go to the official NodeJS and download the latest version for your OS.
- On windows, double click the
node-*.msi
file and follow the installation steps to install NodeJS on your machine. - On MacOS, double-click the downloaded
node-*.pkg
file and follow the installation steps to install NodeJS on your machine. - 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