In this tutorial, we shall provide detailed step by step process to install Node.js software on your PC running on Windows Operating System.

Installation of Node.js on Windows 10

  1. Download Node.js package.

    Latest releases of Node.js are available at [https://nodejs.org/download/release/latest/]. Node.js Latest Releases DownloadBased on the architecture of your Windows Operating System, download the appropriate .zip or .7z file. To know your windows architecture (x64 or x86), run the command wmic OS get OSArchitecture in Command Prompt. Get Windows Architecture in Command PromptThe PC is running on x64, we have chosen x64.zip file to download.

  2. Extract the zip file.

    Extract the zip file and copy the nodejs folder to C:\Program Files.

  3. Setup Environment Variable for Node.js.

    Now we should let the PC know that we have a program called node at location “C:\Program Files\nodejs” Add this location to System Environment Path variable. Add path of Node folder to System Environment Path variable

  4. Verify the installation.

    Ha! We are done with the installation of node in Windows. Now its time to check if the installation is successful. Open Command Prompt and run the command node. Node Shell would be started. Node Shell

  5. Check Node Version.

    To check Node Version, run either node -v or node --version in the command prompt. Check Node Version in Windows

Conclusion

In this NodeJS Tutorial, we have learnt how to install Node.js on Windows OS. In our next tutorial, we shall get started with Basic Node.js Application Example.