<?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: Mekha L</title>
    <description>The latest articles on DEV Community by Mekha L (@mekhal).</description>
    <link>https://dev.to/mekhal</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%2F1249326%2F8f200ad4-62fc-494c-92c8-d58a023a4bb6.jpg</url>
      <title>DEV Community: Mekha L</title>
      <link>https://dev.to/mekhal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mekhal"/>
    <language>en</language>
    <item>
      <title>Setting Up Node Version Manager (NVM) on Arch Linux -Garuda Linux(Dragonized KDE)</title>
      <dc:creator>Mekha L</dc:creator>
      <pubDate>Fri, 05 Jan 2024 08:02:09 +0000</pubDate>
      <link>https://dev.to/mekhal/setting-up-node-version-manager-nvm-on-arch-linux-garuda-linuxdragonized-kde-5dho</link>
      <guid>https://dev.to/mekhal/setting-up-node-version-manager-nvm-on-arch-linux-garuda-linuxdragonized-kde-5dho</guid>
      <description>&lt;p&gt;If you’re diving into Node.js development on Garuda Linux Dragonized KDE, this guide simplifies the process of setting up Node Version Manager (NVM). This straightforward tutorial will help you swiftly install NVM using curl, ensuring a hassle-free environment for managing your Node.js versions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Check Current Shell and Switch to Bash&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before proceeding with the Node Version Manager (NVM) installation, it’s essential to ensure that you are currently using the bash shell. In the terminal, type the following command to switch to the bash shell:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This ensures that you are using the bash terminal for the subsequent steps in setting up Node Version Manager (NVM) on Garuda Linux Dragonized KDE.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Install NVM with Curl&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Use curl to download and run the NVM installation script:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 3: Resolve “Failed to connect” Error&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you encounter a connection error, update your /etc/hosts file:&lt;/p&gt;

&lt;p&gt;1.Open the hosts file with nano:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo nano /etc/hosts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2.Add the IP address at the end:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;185.199.108.133 raw.githubusercontent.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3.Save and close (Ctrl + X, Y, Enter).&lt;br&gt;
4.Retry the NVM installation command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 4: Complete NVM Installation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Close and reopen the terminal.Verify the installation after switching to bash shell.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;bash
nvm --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You’ve efficiently set up Node Version Manager on Garuda Linux, enabling seamless management of Node.js versions. Happy coding!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
