<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Atila Santiago</title>
    <description>The latest articles on DEV Community by Atila Santiago (@atilarsantiago).</description>
    <link>https://dev.to/atilarsantiago</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F361459%2Fba5f729d-90b5-47f4-bc78-86c51e795751.jpeg</url>
      <title>DEV Community: Atila Santiago</title>
      <link>https://dev.to/atilarsantiago</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/atilarsantiago"/>
    <language>en</language>
    <item>
      <title>2º Best Way To Install NodeJs (Linux)</title>
      <dc:creator>Atila Santiago</dc:creator>
      <pubDate>Mon, 06 Apr 2020 04:25:45 +0000</pubDate>
      <link>https://dev.to/atilarsantiago/2-best-way-to-install-nodejs-linux-3l0j</link>
      <guid>https://dev.to/atilarsantiago/2-best-way-to-install-nodejs-linux-3l0j</guid>
      <description>&lt;p&gt;If you, even like me, &lt;strong&gt;don't got installing the last version of the Nodejs&lt;/strong&gt; following the steps in the &lt;a href="https://nodejs.org/en/download/"&gt;Nodejs.org&lt;/a&gt;, i wanna show to you a other way to resolve this problem.&lt;/p&gt;

&lt;p&gt;Basicaly we will use the &lt;a href="https://github.com/nvm-sh/nvm/blob/master/README.md"&gt;NVM(Node Version Manager)&lt;/a&gt;, him will permited us to use diferent versions of &lt;a href="https://nodejs.org/en/download/"&gt;Nodejs&lt;/a&gt;, and also choose the LTS(Latest) version we require.&lt;/p&gt;

&lt;h4&gt;
  
  
  1) Install the requered libs.
&lt;/h4&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  sudo apt update
  sudo apt-get install build-essential libssl-dev
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4&gt;
  
  
  2) Install de NVM
&lt;/h4&gt;
&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt; curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh | bash
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This scrip will install the &lt;a href="https://github.com/nvm-sh/nvm/blob/master/README.md"&gt;NVM&lt;/a&gt;, you must confirm the number of the version before install, he will install in a ocult folder in your HOME directory. &lt;/p&gt;

&lt;h4&gt;
  
  
  3) List and install the version of &lt;a href="https://nodejs.org/en/download/"&gt;Nodejs&lt;/a&gt; you will want:
&lt;/h4&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt; nvm ls-remote
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This will show a list of all versions of Node. Choose the one you want, the last latest version, per example, and install her, like that:&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt; nvm install v12.16.1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;h4&gt;
  
  
  Some observations:
&lt;/h4&gt;
&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//In case you install other versions of Nodejs and want switch between them 
   nvm use -version-
//To verify the version of Node
   node -v
//If necessary update the NPM(Node Package Manager) that came with the node 
   npm i npm -g
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And that's about it, i hope this will help someone, like was help me fill days ago.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/collabcode/como-instalar-node-js-no-linux-corretamente-ubuntu-debian-elementary-os-729fb4c92f2d"&gt;This was the article that helped me initially.&lt;/a&gt; &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>linux</category>
      <category>node</category>
    </item>
  </channel>
</rss>
