<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>install node.js on Windows Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/install-node-js-on-windows/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 26 Oct 2022 15:54:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install node.js on Windows 10</title>
		<link>https://www.osradar.com/how-to-install-node-js-on-windows-10/</link>
					<comments>https://www.osradar.com/how-to-install-node-js-on-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Fri, 06 Dec 2019 01:45:30 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[install node.js on Windows]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[node.js]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16276</guid>

					<description><![CDATA[<p>Hi. How are you? Today we are going to talk about node.js. This is a server-side JavaScript environment that uses an asynchronous, event-driven model. Besides, it is multi-platform, open-source, for the server layer (but not limited to it). It is also based on the ECMAScript programming language, with data I/O in an event-oriented architecture and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-node-js-on-windows-10/">How to install node.js on Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi. How are you? Today we are going to talk about node.js. This is a server-side JavaScript environment that uses an asynchronous, event-driven model. Besides, it is multi-platform, open-source, for the server layer (but not limited to it). It is also based on the ECMAScript programming language, with data I/O in an event-oriented architecture and based on Google&#8217;s V8 engine. Node supports TCP, DNS, and HTTP protocols. Additionally, not one of Node.js strengths is its ability to keep many connections open and waiting. There are also a large number of <a href="https://www.designrush.com/agency/software-development/nodejs">node.js development companies</a> out there that can help you build fast and lightweight web applications for your needs. Well, let&#8217;s see how to install Node.js on Windows 10.</p>



<h2>Downloading node.js</h2>



<p>The first thing you have to do is go to the node.js <a href="https://nodejs.org/en/" target="_blank" rel="noreferrer noopener" aria-label="website (opens in a new tab)">website</a> and download the LTS version. At the time of writing this article, the version is 12.13.1</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node-1.jpg" alt="Download the latest version. " class="wp-image-16284" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/node-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/node-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/node-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/node-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download the latest version. </figcaption></figure>



<p>Then double click on the file to launch the wizard. Press Next to begin the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="495" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node2.jpg" alt="Press next." class="wp-image-16285" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node2.jpg 495w, https://www.osradar.com/wp-content/uploads/2019/12/node2-300x235.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /><figcaption>Press next.</figcaption></figure>



<p>Next, you accept the terms of the license.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="495" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node3.jpg" alt="Accept the license." class="wp-image-16287" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node3.jpg 495w, https://www.osradar.com/wp-content/uploads/2019/12/node3-300x235.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /><figcaption>Accept the license.</figcaption></figure>



<p>Please set the installation directory. You can leave it by default or choose a different one.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="495" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node4.jpg" alt="Select the installation directory." class="wp-image-16289" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node4.jpg 495w, https://www.osradar.com/wp-content/uploads/2019/12/node4-300x235.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /><figcaption>Select the installation directory.</figcaption></figure>



<p>Now, there are components to install. I recommend that you leave it by default as it is the most comfortable option. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="495" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node5.jpg" alt="Select the options to install." class="wp-image-16292" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node5.jpg 495w, https://www.osradar.com/wp-content/uploads/2019/12/node5-300x235.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /><figcaption>Select the options to install.</figcaption></figure>



<p>The following table offers a very interesting option. In fact, the wizard offers to install some tools necessary for the operation of the program. Additionally, this will be done automatically and unattended. Please note that if you do not check this option, you will have to install the tools manually.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="495" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node6-1.jpg" alt="Allows the wizard to automatically install the necessary tools." class="wp-image-16294" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node6-1.jpg 495w, https://www.osradar.com/wp-content/uploads/2019/12/node6-1-300x235.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /><figcaption>Allows the wizard to automatically install the necessary tools.</figcaption></figure>



<p>After the previous settings have been made, the wizard will start the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="495" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node7.jpg" alt="Click Install to start the installation" class="wp-image-16296" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node7.jpg 495w, https://www.osradar.com/wp-content/uploads/2019/12/node7-300x235.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /><figcaption>Click Install to start the installation</figcaption></figure>



<p>The wizard will start the installation of the program.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="495" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node8.jpg" alt="The Wizard running the installation" class="wp-image-16297" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node8.jpg 495w, https://www.osradar.com/wp-content/uploads/2019/12/node8-300x235.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /><figcaption>The wizard running the installation</figcaption></figure>



<p>After a few seconds, the wizard will indicate that your work was successful and that the program has been installed.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="495" height="387" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node9.jpg" alt="Node.js successfully installed." class="wp-image-16299" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node9.jpg 495w, https://www.osradar.com/wp-content/uploads/2019/12/node9-300x235.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /><figcaption>Node.js successfully installed.</figcaption></figure>



<h2>Installing the extra tools</h2>



<p>Once you press <strong>Finish </strong>to close the wizard, the installation of the extra tools will begin. Forthwith, a window will pop up indicating the installation of the Node.js Native Modules Script Installation. Just press any key to continue:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="979" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node10.jpg" alt="Press any key to start the installation" class="wp-image-16302" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node10.jpg 979w, https://www.osradar.com/wp-content/uploads/2019/12/node10-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node10-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/node10-696x364.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/node10-803x420.jpg 803w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Press any key to start the installation</figcaption></figure>



<p>Next, it is explained that the script downloaded and installed Chocolatey to install the packages. Press any key to continue.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node11.jpg" alt="Installing chocolatey." class="wp-image-16304" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node11.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/node11-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node11-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/node11-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/node11-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/node11-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Installing chocolatey.</figcaption></figure>



<p>Once the above steps are completed, a PowerShell window will pop up that will download and install the packages through Chocolatey. As already mentioned, this is an automatic and unattended process. However, if an error occurs, just update Windows and run the installer again.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1010" height="721" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node12.jpg" alt="Installing extra modules" class="wp-image-16309" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node12.jpg 1010w, https://www.osradar.com/wp-content/uploads/2019/12/node12-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node12-768x548.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/node12-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/node12-696x497.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/node12-588x420.jpg 588w" sizes="(max-width: 1010px) 100vw, 1010px" /><figcaption>Installing extra modules</figcaption></figure>



<h2>Installing Node.js using Chocolatey.</h2>



<p>It is also possible to install Node.js on Windows 10 using the Chocolatey repository manager. To find out how to install and use it, please check out our <a rel="noreferrer noopener" aria-label="tutorial. (opens in a new tab)" href="https://www.osradar.com/how-to-install-chocolatey-in-windows-10/" target="_blank">tutorial.</a> Well, to install just run this command in PowerShell.</p>



<pre class="wp-block-preformatted"> cinst nodejs install </pre>



<p> If the installation is successful, you will get the message of the successful installation of Node.js </p>



<h2>Testing Node.js installation</h2>



<p>After installing Node.js, let&#8217;s try it out. With that intention, open a CMD and type the following command:</p>



<pre class="wp-block-preformatted">node -v
npm -v</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node13.jpg" alt="Testing the installation of Node.js" class="wp-image-16308" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node13.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/node13-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node13-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/node13-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/node13-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/node13-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Testing the installation of Node.js</figcaption></figure>



<p>With these commands, we are seeing the version of Node.js and the version of the NPM package manager. </p>



<h2>Testing the operation of Node.js</h2>



<p>To check the functioning of the Node.js server and that it effectively executes javascript code, we will do the following. First, create a folder with the name <em>node</em>. Thereupon, place it in any direction, e.g. on the Documents.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node14-1.jpg" alt="Create a new folder on the Documents with the name &quot;node&quot;." class="wp-image-16314" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node14-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/node14-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node14-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/node14-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/node14-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/node14-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <em>Create a new folder on the Documents with the name &#8220;node&#8221;.</em> </figcaption></figure>



<p>Then open the text editor of your choice and create a file with the following content:</p>



<pre class="wp-block-preformatted">console.log('correctly installed Node');</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node15-1.jpg" alt="Creating a test file." class="wp-image-16313" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node15-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/node15-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node15-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/node15-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/node15-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/node15-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <em>Creating a test file.</em> </figcaption></figure>



<p>After adding the text, proceed to save it with any name in the folder called <em>node</em>. In this case, the name will be <em>test</em>. The most important thing is that the file extension should be .js At the end the file would be named <em>test.js</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="611" height="473" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node16-1.jpg" alt="Saving the test.js file in the node folder." class="wp-image-16324" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node16-1.jpg 611w, https://www.osradar.com/wp-content/uploads/2019/12/node16-1-300x232.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node16-1-543x420.jpg 543w" sizes="(max-width: 611px) 100vw, 611px" /><figcaption> <em>Saving the test.js file in the node folder.</em> </figcaption></figure>



<p>Then open a Command Prompt and navigate to the folder location using the following commands:</p>



<pre class="wp-block-preformatted">cd documents
cd node</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node17.jpg" alt="entering the location of the node folder" class="wp-image-16316" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node17.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/node17-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node17-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/node17-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/node17-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/node17-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Entering the location of the node folder</figcaption></figure>



<p>It then executes the file we just created, using the following command:</p>



<pre class="wp-block-preformatted">node test.js</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/node18.jpg" alt="Running the test file" class="wp-image-16318" srcset="https://www.osradar.com/wp-content/uploads/2019/12/node18.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/node18-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/node18-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/node18-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/12/node18-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/node18-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Running the test file</figcaption></figure>



<p>Finally, we have seen how to install Node.js on Windows 10. From now on, you can use this powerful Java execution environment. That&#8217;s all for now, I hope you enjoyed it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-node-js-on-windows-10/">How to install node.js on Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-node-js-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
