<?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>node.js Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/node-js/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 NodeJS on FreeBSD 12?</title>
		<link>https://www.osradar.com/install-nodejs-freebsd-12/</link>
					<comments>https://www.osradar.com/install-nodejs-freebsd-12/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 19 Feb 2020 00:11:00 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[freebsd 12]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18212</guid>

					<description><![CDATA[<p>Hello. In this short post, I will show you how to install NodeJS on FreeBSD 12. Also, I will install NPM too. What is NodeJS If you are an expert developer or already have some experience with it, you will know it is NodeJS. However, in case you are starting with it, it is a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nodejs-freebsd-12/">How to install NodeJS on FreeBSD 12?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Hello. In this short post, I will show you how to install NodeJS on FreeBSD 12. Also, I will install NPM too.</strong></p>
<h2>What is NodeJS</h2>
<p>If you are an expert developer or already have some experience with it, you will know it is NodeJS. However, in case you are starting with it, it is a good idea to know what NodeJS is first.</p>
<p><a href="https://nodejs.org/" rel="noopener">NodeJS</a> is a technology that allows running Javascript on the server-side using Google’s V8 engine. It is a real revolution in the way web applications are developed because it reduces the asymmetry of client and server performance.</p>
<p>Many important forms such as Linkedin or eBay were created using this technology. This shows us the power of NodeJS.</p>
<p>An advantage of NodeJS is that its syntax is similar to that of Javascript and therefore its learning curve decreases a lot.</p>
<p>So, let us start.</p>
<h2>Install NodeJS on FreeBSD 12</h2>
<p>First of all, all the commands we will use require you to be root. So it is a good idea to have sudo enabled and not work directly with the root user.</p>
<p><a href="https://www.osradar.com/enable-sudo-on-freebsd-12/" target="_blank" rel="noopener noreferrer">How to enable sudo on FreeBSD 12?</a></p>
<p>Now it is also convenient to do a system upgrade. Not only to install security patches but also to refresh the repositories.</p>
<pre>:~$ sudo pkg update</pre>
<p>The official FreeBSD repositories include NodeJS. So first we&#8217;ll search for them.</p>
<pre>:~$ sudo pkg search node<br />bitcoinnodestats-g20171121_1   Basic Bitcoin node status and statistics web application<br />gstreamer-plugins-annodex-0.10.31_2,3 Gstreamer annodex CMML plugin<br />kadnode-2.2.5_1                P2P name resolution daemon<br />leafnode-1.11.11               NNTP package for offline news caching and reading<br />monodevelop-7.6.11.7_2         IDE for the .NET platform<br />munin-node-2.0.52              Node-specific part of Munin<br />node-13.3.0                    V8 JavaScript for client and server<br />node-thrift-0.11.0             Node.js bindings for the Apache Thrift RPC system<br />node10-10.17.0                 V8 JavaScript for client and server<br />node12-12.13.1                 V8 JavaScript for client and server<br />node8-8.16.2                   V8 JavaScript for client and server (8.x LTS)<br />node_exporter-0.18.1           Prometheus exporter for machine metrics<br />npm-node10-6.12.1              Node package manager<br />npm-node12-6.12.1              Node package manager<br />npm-node8-6.12.1               Node package manager<br />p5-Tree-DAG_Node-1.31          Super class for representing nodes in a tree<br />p5-Tree-Node-0.08_2            Memory-efficient tree nodes in Perl<br />p5-WebService-Linode-0.29      Perl Interface to the Linode.com API<br />p5-XML-Node-0.11_1             Perl5 module to extend and simplify XML::Parser<br />p5-XML-NodeFilter-0.01_1       XML::NodeFilter is an object that know how to "filter out" nodes<br />py27-certbot-dns-linode-1.0.0  Linode DNS Authenticator plugin for Certbot<br />py27-nodeenv-1.3.3             Node.js virtual environment builder<br />py37-certbot-dns-linode-1.0.0  Linode DNS Authenticator plugin for Certbot<br />py37-nodeenv-1.3.3             Node.js virtual environment builder<br />yarn-node10-1.19.1             Package manager for node, alternative to npm<br />yarn-node12-1.19.1             Package manager for node, alternative to npm<br />yarn-node8-1.19.1              Package manager for node, alternative to npm</pre>
<figure id="attachment_18263" aria-describedby="caption-attachment-18263" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18263" src="https://www.osradar.com/wp-content/uploads/2020/02/1-8.png" alt="1.- Search for nodejs on the FreeBSD repositories" width="1365" height="550" srcset="https://www.osradar.com/wp-content/uploads/2020/02/1-8.png 1365w, https://www.osradar.com/wp-content/uploads/2020/02/1-8-300x121.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/1-8-1024x413.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/1-8-768x309.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/1-8-696x280.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/1-8-1068x430.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/1-8-1042x420.png 1042w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-18263" class="wp-caption-text">1.- Search for nodejs on the FreeBSD repositories</figcaption></figure>
<p>As you can see from the screen output, there are several versions of NodeJS in the official repositories. At the time of writing this post, series 12 is the latest LTS and therefore the most reliable option.</p>
<p>So let&#8217;s install NodeJS with the following command:</p>
<pre>:~$ sudo pkg install node12<br />Updating FreeBSD repository catalogue...<br />FreeBSD repository is up to date.<br />All repositories are up to date.<br />The following 5 package(s) will be affected (of 0 checked):<br />New packages to be INSTALLED:<br />	node12: 12.13.1<br />	libnghttp2: 1.40.0<br />	c-ares: 1.15.0_1<br />	libuv: 1.34.0<br />	icu: 65.1,1<br />Number of packages to be installed: 5<br />The process will require 86 MiB more space.<br />18 MiB to be downloaded.<br />Proceed with this action? [y/N]:</pre>
<figure id="attachment_18264" aria-describedby="caption-attachment-18264" style="width: 817px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18264" src="https://www.osradar.com/wp-content/uploads/2020/02/2-8.png" alt="2.- Install NodeJS on FreeBSD 12" width="817" height="366" srcset="https://www.osradar.com/wp-content/uploads/2020/02/2-8.png 817w, https://www.osradar.com/wp-content/uploads/2020/02/2-8-300x134.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/2-8-768x344.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/2-8-696x312.png 696w" sizes="(max-width: 817px) 100vw, 817px" /><figcaption id="caption-attachment-18264" class="wp-caption-text">2.- Install NodeJS on FreeBSD 12</figcaption></figure>
<p>Now check the version of NodeJS installed with the following command:</p>
<pre>:~$ node --version<br />v12.13.1</pre>
<p>It is now convenient to install NPM.</p>
<p>Again, search for the package NPM.</p>
<pre>:~$ sudo pkg search npm<br />Password:<br />npm-6.12.1                     Node package manager<br />npm-node10-6.12.1              Node package manager<br />npm-node12-6.12.1              Node package manager<br />npm-node8-6.12.1               Node package manager</pre>
<figure id="attachment_18265" aria-describedby="caption-attachment-18265" style="width: 748px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18265" src="https://www.osradar.com/wp-content/uploads/2020/02/3-8.png" alt="3.- NPM packages available on the official repositories" width="748" height="147" srcset="https://www.osradar.com/wp-content/uploads/2020/02/3-8.png 748w, https://www.osradar.com/wp-content/uploads/2020/02/3-8-300x59.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/3-8-696x137.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/3-8-741x147.png 741w" sizes="(max-width: 748px) 100vw, 748px" /><figcaption id="caption-attachment-18265" class="wp-caption-text">3.- NPM packages available on the official repositories</figcaption></figure>
<p>As you can see in the image, there are several versions of NPM. Each of them depends on a specific version of NodeJS. Since we have installed NodeJS version 12, then we have to install NPM for that version.</p>
<pre>:~$ sudo pkg install npm-node12<br />Updating FreeBSD repository catalogue...<br />FreeBSD repository is up to date.<br />All repositories are up to date.<br />The following 4 package(s) will be affected (of 0 checked):<br /><br />New packages to be INSTALLED:<br />	npm-node12: 6.12.1<br />	python27: 2.7.17_1<br />	libffi: 3.2.1_3<br />	gmake: 4.2.1_3<br /><br />Number of packages to be installed: 4<br /><br />The process will require 90 MiB more space.<br />15 MiB to be downloaded.<br /><br />Proceed with this action? [y/N]:</pre>
<figure id="attachment_18266" aria-describedby="caption-attachment-18266" style="width: 708px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18266" src="https://www.osradar.com/wp-content/uploads/2020/02/4-7.png" alt="4.- Install NPM on FreeBSD 12" width="708" height="365" srcset="https://www.osradar.com/wp-content/uploads/2020/02/4-7.png 708w, https://www.osradar.com/wp-content/uploads/2020/02/4-7-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/4-7-696x359.png 696w" sizes="(max-width: 708px) 100vw, 708px" /><figcaption id="caption-attachment-18266" class="wp-caption-text">4.- Install NPM on FreeBSD 12</figcaption></figure>
<p>And that is it. Now you can use NodeJS without problems.</p>
<h2>Conclusion</h2>
<p>NodeJS is a rather interesting technology that is becoming increasingly popular in large web projects. So it&#8217;s always good to have it in our system. Today you have learned that installing it on FreeBSD 12 is quite simple.</p>
<p>Please share this post with your friends and join our <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">Telegram channel</a>.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nodejs-freebsd-12/">How to install NodeJS on FreeBSD 12?</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/install-nodejs-freebsd-12/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>
		<item>
		<title>How To Install latest node.js 13 on Ubuntu 19.04 / Debian / Linux</title>
		<link>https://www.osradar.com/how-to-install-latest-node-js-13-on-ubuntu-19-04-debian-linux/</link>
					<comments>https://www.osradar.com/how-to-install-latest-node-js-13-on-ubuntu-19-04-debian-linux/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Wed, 04 Dec 2019 13:12:48 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Install node.js 13]]></category>
		<category><![CDATA[Install node.js on Debian]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16115</guid>

					<description><![CDATA[<p>At the end of this tutorial, you will be able to Install Node.js 13 (the latest version) smoothly on Ubuntu / Debian / Linux Mint. So, follow the steps to proceed further. Step 1: Update the system First of all update your system by running the given command. sudo apt -y update &#38;&#38; sudo apt [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-latest-node-js-13-on-ubuntu-19-04-debian-linux/">How To Install latest node.js 13 on Ubuntu 19.04 / Debian / Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>At the end of this tutorial, you will be able to Install Node.js 13 (the latest version) smoothly on Ubuntu / Debian / Linux Mint. So, follow the steps to proceed further. </p>



<h3><strong>Step 1: Update the system</strong></h3>



<p>First of all update your system by running the given command.</p>



<pre class="wp-block-verse">sudo apt -y update &amp;&amp; sudo apt -y upgrade</pre>



<h3><strong>Step 2: Install Node.js 13 on Ubuntu / Debian / Linux Mint</strong></h3>



<p>You can install node.js 13 after updating the system and then installing the required repository.</p>



<pre class="wp-block-verse">curl -sL https://deb.nodesource.com/setup_13.x | sudo bash -</pre>



<p>After creating directory, you can move forward to Install Node.js 13 on Ubuntu / Debian / Linux Mint.</p>



<pre class="wp-block-verse">sudo apt-get install -y nodejs</pre>



<p>You can check your installed version by following this command.</p>



<pre class="wp-block-verse">node -V</pre>



<p>For Installing Development tools, run the following command as a root or with sudo privileges.</p>



<pre class="wp-block-verse">sudo apt-get install gcc g++ make</pre>



<p>For yarn package Installation follow the below step</p>



<pre class="wp-block-verse">curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -<br>
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list<br>
sudo apt-get update &amp;&amp; sudo apt-get install yarn</pre>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-latest-node-js-13-on-ubuntu-19-04-debian-linux/">How To Install latest node.js 13 on Ubuntu 19.04 / Debian / Linux</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-latest-node-js-13-on-ubuntu-19-04-debian-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Nodejs on Ubuntu 18.04 LTS / Ubuntu 19.04?</title>
		<link>https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/</link>
					<comments>https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 02 May 2019 05:30:05 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install nodejs]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[NodeJS]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=5483</guid>

					<description><![CDATA[<p>If you&#8217;re a developer or just starting out in that world, you&#8217;ve probably heard of node.js, this fantastic platform built on Chrome&#8217;s JavaScript interpreter to quickly and easily build scalable network applications. It runs on the server side, and thus allows the server and desktop applications to communicate via Javascript. Thanks to its simplicity and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/">How to install Nodejs on Ubuntu 18.04 LTS / Ubuntu 19.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you&#8217;re a developer or just starting out in that world, you&#8217;ve probably heard of <strong>node.js</strong>, this fantastic platform built on Chrome&#8217;s JavaScript interpreter to quickly and easily build scalable network applications. It runs on the server side, and thus allows the server and desktop applications to communicate via Javascript.</p>
<p>Thanks to its simplicity and ease of use, node.js is reaching great levels of popularity and is even positioned as a direct rival to PHP.</p>
<p>Node.JS has its own server and maintains a single instance of it, this means a much more efficient use of resources and a much faster response to simultaneous connections. It is multiplatform allowing its installation in almost any operating system in pc.</p>
<p>For this tutorial we will use Ubuntu 18.04 to install node.js.</p>
<h3>3 ways to reach the goal!!</h3>
<p>There are three ways to install node.js. The choice will depend on your level of knowledge and what you really want for your computer. The options are 3: use the official repositories o ubuntu, use the external PPA or install it via NVM.</p>
<h4>1.- Using the official Ubuntu repositories</h4>
<p>This method is safer, more stable and easier but does not provide the flexibility that many would like. This is because over time the installed version could be considered obsolete.</p>
<p>First we must open a terminal. Then we proceed to update the system in order to have the latest security patches.</p>
<pre class="">sudo apt update &amp;&amp; sudo apt upgrade</pre>
<p><figure id="attachment_5485" aria-describedby="caption-attachment-5485" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5485" src="https://www.osradar.com/wp-content/uploads/2018/08/1-8.png" alt="1.- Upgrading the system" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/1-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/1-8-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/1-8-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/1-8-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/1-8-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/1-8-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/1-8-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5485" class="wp-caption-text">1.- Upgrading the system</figcaption></figure></p>
<p>Next we proceed to install node.js from the official repositories with:</p>
<pre class="">sudo apt install nodejs</pre>
<p><figure id="attachment_5486" aria-describedby="caption-attachment-5486" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5486" src="https://www.osradar.com/wp-content/uploads/2018/08/2-8.png" alt="2.- Installing node.js" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/2-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/2-8-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/2-8-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/2-8-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/2-8-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/2-8-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/2-8-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5486" class="wp-caption-text">2.- Installing node.js</figcaption></figure></p>
<p>This will install node.js. However, in many cases you need your NPM package manager which is not installed by default with this method. For this we write:</p>
<pre class="">sudo apt install npm</pre>
<p><figure id="attachment_5487" aria-describedby="caption-attachment-5487" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5487" src="https://www.osradar.com/wp-content/uploads/2018/08/3-8.png" alt="3.- Installing npm" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/3-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/3-8-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/3-8-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/3-8-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/3-8-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/3-8-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/3-8-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5487" class="wp-caption-text">3.- Installing npm</figcaption></figure></p>
<p>Finally we can consult the installed version of node.js</p>
<pre class="">nodejs -v</pre>
<p><figure id="attachment_5488" aria-describedby="caption-attachment-5488" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5488" src="https://www.osradar.com/wp-content/uploads/2018/08/4-7.png" alt="4.- checking the installed version" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/4-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/4-7-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/4-7-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/4-7-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/4-7-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/4-7-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/4-7-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5488" class="wp-caption-text">4.- checking the installed version</figcaption></figure></p>
<h4>2.- Using PPA</h4>
<p>For more recent versions of node.js we usually use this installation method. Recent versions of node.js provide us with security updates as well as more improvements than ever before. If you have installed node.js before, you must uninstall it.</p>
<p>First we must add the repository in question. To do this in a terminal, we write:</p>
<pre class="">cd ~
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -</pre>
<p>In this case we chose version 10.x because it is a higher version than the official repositories, but you can check the rest of the versions supported by the PPA <a href="https://github.com/nodesource/distributions">here</a></p>
<p><figure id="attachment_5489" aria-describedby="caption-attachment-5489" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5489" src="https://www.osradar.com/wp-content/uploads/2018/08/5-8.png" alt="5.- Using a ppa for installing node.js" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/5-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/5-8-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/5-8-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/5-8-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/5-8-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/5-8-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/5-8-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5489" class="wp-caption-text">5.- Using a ppa for installing node.js</figcaption></figure></p>
<p>Then we proceed to install it:</p>
<pre class="">sudo apt install nodejs</pre>
<p>And finally we check the installed version.</p>
<pre class="">nodejs -v</pre>
<p><figure id="attachment_5490" aria-describedby="caption-attachment-5490" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5490" src="https://www.osradar.com/wp-content/uploads/2018/08/6-7.png" alt="6.- Nodejs installed" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/6-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/6-7-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/6-7-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/6-7-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/6-7-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/6-7-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/6-7-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5490" class="wp-caption-text">6.- Nodejs installed</figcaption></figure></p>
<p>With this method, there is no need to install npm separately. In addition we install a higher version of node.js</p>
<h4>3.- Installing node.js using NVM</h4>
<p>Using NVM we can have more flexibility to install node.js because we can choose which version to install from a quick and easy way.</p>
<p>First we can check on your github page that we can download NVM in two ways, using wget or curl. We&#8217;ll use curl.</p>
<pre class="">curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh <span class="pl-k">|</span> bash</pre>
<p><figure id="attachment_5491" aria-describedby="caption-attachment-5491" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5491" src="https://www.osradar.com/wp-content/uploads/2018/08/7-8.png" alt="7.- Getting nvm" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/7-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/7-8-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/7-8-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/7-8-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/7-8-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/7-8-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/7-8-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5491" class="wp-caption-text">7.- Getting NVM</figcaption></figure></p>
<p>At the end of the installation, you will create a hidden nvm folder. Now to use nvm we must do:</p>
<pre class="">source ~/.profile</pre>
<p><figure id="attachment_5492" aria-describedby="caption-attachment-5492" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5492" src="https://www.osradar.com/wp-content/uploads/2018/08/8-6.png" alt="8.- source profile file" width="1366" height="740" srcset="https://www.osradar.com/wp-content/uploads/2018/08/8-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/08/8-6-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/8-6-768x416.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/8-6-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/8-6-696x377.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/8-6-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/08/8-6-775x420.png 775w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5492" class="wp-caption-text">8.- source profile file</figcaption></figure></p>
<p>Now we can install different versions of node.js</p>
<pre class="">nvm ls-remote</pre>
<p><figure id="attachment_11963" aria-describedby="caption-attachment-11963" style="width: 1015px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-11963 size-full" src="https://www.osradar.com/wp-content/uploads/2018/08/ab.png" alt="9.- Showing nvm list" width="1015" height="732" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ab.png 1015w, https://www.osradar.com/wp-content/uploads/2018/08/ab-300x216.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ab-768x554.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ab-324x235.png 324w, https://www.osradar.com/wp-content/uploads/2018/08/ab-696x502.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ab-582x420.png 582w" sizes="(max-width: 1015px) 100vw, 1015px" /><figcaption id="caption-attachment-11963" class="wp-caption-text">9.- Showing nvm list</figcaption></figure></p>
<p>We will install the latest stable version:We will install the latest stable version:</p>
<pre class="">nvm install 10.15.3</pre>
<p><figure id="attachment_11964" aria-describedby="caption-attachment-11964" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-11964 size-full" src="https://www.osradar.com/wp-content/uploads/2018/08/ac.png" alt="10.- Installing the lastest version of node.js" width="1365" height="223" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ac.png 1365w, https://www.osradar.com/wp-content/uploads/2018/08/ac-300x49.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ac-768x125.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ac-1024x167.png 1024w, https://www.osradar.com/wp-content/uploads/2018/08/ac-696x114.png 696w, https://www.osradar.com/wp-content/uploads/2018/08/ac-1068x174.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11964" class="wp-caption-text">10.- Installing the lastest version of node.js</figcaption></figure></p>
<p>With the command above we also install the npm.</p>
<p>We proceed to verify the installed version.</p>
<pre class="">node -v</pre>
<p><figure id="attachment_11965" aria-describedby="caption-attachment-11965" style="width: 815px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-11965 size-full" src="https://www.osradar.com/wp-content/uploads/2018/08/ad.png" alt="11.- nodejs version installed" width="815" height="152" srcset="https://www.osradar.com/wp-content/uploads/2018/08/ad.png 815w, https://www.osradar.com/wp-content/uploads/2018/08/ad-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2018/08/ad-768x143.png 768w, https://www.osradar.com/wp-content/uploads/2018/08/ad-696x130.png 696w" sizes="(max-width: 815px) 100vw, 815px" /><figcaption id="caption-attachment-11965" class="wp-caption-text">11.- nodejs version installed</figcaption></figure></p>
<p>As a conclusion we can say that node.js is a very popular implementation in the field of web development, and its installation is really easy in Ubuntu 18.04 which in turn is a GNU/LINUX distribution widely used by developers around the world.</p>
<p>Please share this article on your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/">How to install Nodejs on Ubuntu 18.04 LTS / Ubuntu 19.04?</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-nodejs-on-ubuntu-18-04-lts-linux-mint-19/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
