Installing Node and NPM
Before installing Node.js and npm on your machine, you first need to verify if it’s already installed.
Verifying the existing installation on Windows
On Windows, you can use the WINKEY+r shortcut key, which opens the Run window. Inside the Open: input of the Run window, type cmd and press the enter key. This will open the command prompt.
Inside the command prompt, type:
- node –version
If there is Node.js installed on your Windows OS, it will return a value similar to this:
- v16.14.2
Then you can confirm that you have npm as well, running this:
- npm –version
If npm is installed, you’ll get output similar to this:
- 8.5.0