Installing NodeJS And NPM
What is NodeJS
Node.js is an open-source, cross-platform JavaScript runtime environment that can run JavaScript code outside of a web browser.
What is NPM
NPM or "node package manager" is the default package manager for NodeJS. It consists of a command-line client, also called npm, and an online database of public and paid-for private packages called the npm registry (https://www.npmjs.com/). NPM registry contains thousands of open packages which allow you to perform different kinds of things inside your application.
Installing NodeJS and NPM
- Head over to https://nodejs.org/en/ and download the "LTS" version of NodeJS which is available for your Operating System.

- After you've downloaded the file, follow the usual steps to install the application according to your operating system. (double-clicking the .exe or .pkg)
Verifying Installation
- Open the terminal and run these commands
node -v
npm -v
- You should see something like this

- If you can see the versions of node and npm, it means you have successfully installed NodeJS on your system.
3
