{"id":421,"date":"2024-08-07T12:02:58","date_gmt":"2024-08-07T12:02:58","guid":{"rendered":"https:\/\/249host.com\/tutorials\/?p=421"},"modified":"2024-08-07T12:17:08","modified_gmt":"2024-08-07T12:17:08","slug":"install-node-js-on-windows","status":"publish","type":"post","link":"https:\/\/249host.com\/tutorials\/install-node-js-on-windows\/","title":{"rendered":"How to Install Node.js on Windows? A Beginner\u2019s Guide"},"content":{"rendered":"<p>Install Node.js is an open-source JavaScript runtime environment. It helps in creating scalable applications which can be hosted on Nodejs hosting. Node.js is accessible on Unix, Linux, macOS, and Windows. Windows is a popular operating system that many web developers use. For any developer, the installation process is a challenging part and therefore we have created this guide.<\/p>\n<p>In this article, we will be explaining how to install Node.js on Windows. We believe beginners will get valuable insights on it.<\/p>\n<h2 class=\"wp-block-heading\">Downloading and Installing Node.js on Windows<\/h2>\n<p>To set up Node.js on your Windows system, follow these steps to download and install the Node.js installer from the official Node.js website:<\/p>\n<h2 class=\"wp-block-heading\">Downloading the Node.js \u2018.msi\u2019 installer.<\/h2>\n<h3>Step 1: Download Node.js<\/h3>\n<ol>\n<li><strong>Visit the Node.js Website<\/strong>: Go to the (<a href=\"https:\/\/nodejs.org\/en\/download\/package-manager\" target=\"_blank\" rel=\"noopener\">https:\/\/nodejs.org\/en\/download<\/a>\/<\/li>\n<li><strong>Choose the Version<\/strong>: You will see two versions available for download:\n<ul>\n<li><strong>LTS (Long Term Support)<\/strong>: Recommended for most users as it is the stable version.<\/li>\n<li><strong>Current<\/strong>: Contains the latest features but may not be as stable as the LTS version.<\/li>\n<\/ul>\n<p>Click the installer for <a href=\"https:\/\/www.249host.com\/windows-web-hosting-india\/\">Windows<\/a> for the version you prefer and download the .msi file as per your system environment (32-bit &amp; 64-bit)<\/li>\n<\/ol>\n<p>Installing the .msi installer is essential before proceeding further into the installation process on Windows.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-425 aligncenter\" src=\"https:\/\/249host.com\/tutorials\/wp-content\/uploads\/2024\/08\/nodejs.png\" alt=\"\" width=\"831\" height=\"569\" srcset=\"https:\/\/249host.com\/tutorials\/wp-content\/uploads\/2024\/08\/nodejs.png 998w, https:\/\/249host.com\/tutorials\/wp-content\/uploads\/2024\/08\/nodejs-300x205.png 300w, https:\/\/249host.com\/tutorials\/wp-content\/uploads\/2024\/08\/nodejs-768x526.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/p>\n<h2 class=\"wp-block-heading\">Running the Node.js installer<\/h2>\n<p>Once the .msi installer is installed, install the node.js installer on your PC\u00a0 with the following steps.<\/p>\n<p>Double click on the .msi installer.<\/p>\n<p>The Node.js Setup wizard will open on your system.<\/p>\n<ul>\n<li>In the Node.js Setup Wizard, click on \u201cNext.\u201d<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17912\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/nodejs-setup-wizard.png\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/nodejs-setup-wizard.png 496w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/nodejs-setup-wizard-300x235.png 300w\" alt=\"nodejs setup wizard\" width=\"496\" height=\"388\" \/><\/p>\n<ul>\n<li>You will be prompted to accept the End-User License Agreement (EULA) after clicking \u201cNext\u201d.<\/li>\n<li>Select the check box of \u201cI accept the terms in the License Agreement\u201d and Select \u201cNext.\u201d<\/li>\n<\/ul>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17913\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/end-user-license-agreement.png\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/end-user-license-agreement.png 497w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/end-user-license-agreement-300x235.png 300w\" alt=\"end user license agreement\" width=\"497\" height=\"389\" \/><\/figure>\n<\/div>\n<ul>\n<li>Choose the right destination folder where all Node.js files will be installed. Click \u201cNext.\u201d<\/li>\n<\/ul>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17914\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/destination-folder-for-nodejs-files.png\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/destination-folder-for-nodejs-files.png 496w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/destination-folder-for-nodejs-files-300x235.png 300w\" alt=\"Install Node.js\" width=\"496\" height=\"388\" \/><\/figure>\n<\/div>\n<ul>\n<li>Customize the setup and proceed further by clicking \u201cNext.\u201d<\/li>\n<\/ul>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17915\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/customize-the-nodejs-setup.png\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/customize-the-nodejs-setup.png 497w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/customize-the-nodejs-setup-300x234.png 300w\" alt=\"customize the nodejs setup\" width=\"497\" height=\"388\" \/><\/figure>\n<\/div>\n<p>Now, you are ready to install Node.js on your PC.<\/p>\n<ul>\n<li>Installer will give the \u201cinstall tools for native modules\u201d prompt. Select \u201cInstall\u201d<\/li>\n<\/ul>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17911\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/ready-to-install-nodejs-setup.png\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/ready-to-install-nodejs-setup.png 497w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/ready-to-install-nodejs-setup-300x235.png 300w\" alt=\"Install Node.js\" width=\"497\" height=\"389\" \/><\/figure>\n<\/div>\n<p>Don\u2019t close the installer window while the installation process is going on.<\/p>\n<ul>\n<li>Click on \u201cFinish\u201d once the Node.js setup is completed.<\/li>\n<\/ul>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17916\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/finish-nodejs-setup.png\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/finish-nodejs-setup.png 497w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2023\/12\/finish-nodejs-setup-300x235.png 300w\" alt=\"finish nodejs setup\" width=\"497\" height=\"389\" \/><\/figure>\n<h2 class=\"wp-block-heading\">Verification<\/h2>\n<p>It is essential for website owners to check whether Node.js installation is successfully completed or not. For this, run the following command in command prompt or Windows PowerShell.<\/p>\n<ul>\n<li><strong>Open Command Prompt<\/strong>: Press <code>Win + R<\/code>, type <code>cmd<\/code>, and press <code>Enter<\/code> to open the Command Prompt.<\/li>\n<li><strong>Check Node.js Version<\/strong>: Type the following command and press <code>Enter<\/code>:<\/li>\n<\/ul>\n<pre class=\"wp-block-code\"><code>C:\\Users\\Admin&gt; node \u2013v<\/code><\/pre>\n<p>If it is successfully completed, then the command prompt will print the installed version of node.js.<\/p>\n<p>Or else, you have to manually enter the node path if it was not found. An error message will occur if you didn\u2019t receive it.<\/p>\n<h2 class=\"wp-block-heading\">Adding to the path:<\/h2>\n<p>While installing through the .msi installer, the Windows installer will take care of the system variables for you.<\/p>\n<h3>Update npm (Optional)<\/h3>\n<p>To ensure you have the latest version of npm, you can update it using the following command:<\/p>\n<div class=\"dark bg-gray-950 rounded-md border-[0.5px] border-token-border-medium\">\n<div class=\"flex items-center relative text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md\">\n<div class=\"flex items-center\">npm install -g npm@latest<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Install Node.js is an open-source JavaScript runtime environment. It helps in creating scalable applications which can be hosted on Nodejs hosting. Node.js is accessible on Unix, Linux, macOS, and Windows. Windows is a popular operating system that many web developers use. For any developer, the installation process is a challenging part and therefore we have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-421","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/posts\/421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/comments?post=421"}],"version-history":[{"count":12,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/posts\/421\/revisions"}],"predecessor-version":[{"id":434,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/posts\/421\/revisions\/434"}],"wp:attachment":[{"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/media?parent=421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/categories?post=421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/tags?post=421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}