<?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: mrchiraggarg</title>
    <description>The latest articles on DEV Community by mrchiraggarg (@mrchiraggarg).</description>
    <link>https://dev.to/mrchiraggarg</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F670152%2F2d0dc011-9e0d-4ad4-868b-0d74713032d2.jpg</url>
      <title>DEV Community: mrchiraggarg</title>
      <link>https://dev.to/mrchiraggarg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mrchiraggarg"/>
    <language>en</language>
    <item>
      <title>Node.js Installation Guide</title>
      <dc:creator>mrchiraggarg</dc:creator>
      <pubDate>Fri, 15 Aug 2025 02:35:00 +0000</pubDate>
      <link>https://dev.to/mrchiraggarg/nodejs-installation-guide-55b0</link>
      <guid>https://dev.to/mrchiraggarg/nodejs-installation-guide-55b0</guid>
      <description>&lt;p&gt;&lt;strong&gt;Hello, Fellow Developer!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you’re reading this blog, you’re likely a beginner or maybe you’ve run into some hiccups trying to install Node.js. Don’t worry — you’re in the right place! I’m here to guide you through the entire Node.js installation process in a simple, hassle-free way, whether you’re on Windows, Ubuntu Linux, or macOS.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before we dive in:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Node.js is a powerful, open-source, cross-platform JavaScript runtime environment that lets you run JavaScript code outside of a browser. It’s an essential tool for backend development, building scalable servers, and using npm (Node Package Manager) to manage your packages. No matter your platform, with this step-by-step guide, you’ll have Node.js and npm up and running in no time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl5fevwkqxpiy5slxmo6l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl5fevwkqxpiy5slxmo6l.png" alt=" " width="720" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Node.js on Windows
&lt;/h2&gt;

&lt;p&gt;Getting Node.js on Windows is pretty straightforward:&lt;/p&gt;

&lt;p&gt;Head to the official &lt;a href="https://nodejs.org/en/download/" rel="noopener noreferrer"&gt;Node.js website&lt;/a&gt; and download the recommended LTS (Long Term Support) Windows installer (.msi).&lt;br&gt;
Run the installer, accept the license agreement, and follow the prompts. Make sure to check the box that adds Node.js to your system PATH so you can run it from the command line easily.&lt;br&gt;
Once installed, open Command Prompt and verify your installation by running:&lt;br&gt;
&lt;code&gt;node -v&lt;br&gt;
npm -v&lt;/code&gt;&lt;br&gt;
You should see version numbers — meaning you’re good to go!&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Node.js on Ubuntu Linux
&lt;/h2&gt;

&lt;p&gt;Ubuntu users, the best way to install Node.js is using Node Version Manager (nvm), which lets you easily switch between Node.js versions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Open your terminal and install nvm with:&lt;br&gt;
&lt;code&gt;curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After installation, restart your terminal or run:&lt;br&gt;
&lt;code&gt;source ~/.bashrc&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then install the latest Node.js version with:&lt;br&gt;
&lt;code&gt;nvm install node&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Verify installation:&lt;br&gt;
&lt;code&gt;node -v&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;npm comes bundled with Node.js, so no extra setup needed.&lt;/p&gt;

&lt;p&gt;If you prefer, you can also install Node.js directly from Ubuntu’s package manager, but it might not have the latest version:&lt;br&gt;
&lt;code&gt;sudo apt update&lt;br&gt;
sudo apt install nodejs npm&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Node.js on macOS
&lt;/h2&gt;

&lt;p&gt;Mac users have two great options: the official installer or Homebrew package manager.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Option 1: Official Installer&lt;/code&gt;&lt;br&gt;
Download the macOS installer (.pkg) from the &lt;a href="https://nodejs.org/en/download/" rel="noopener noreferrer"&gt;Node.js website&lt;/a&gt;.&lt;br&gt;
Run it, follow the steps, and Node.js plus npm will be installed.&lt;br&gt;
Check installation in Terminal:&lt;br&gt;
&lt;code&gt;node -v&lt;br&gt;
npm -v&lt;/code&gt;&lt;br&gt;
&lt;code&gt;Option 2: Using Homebrew&lt;/code&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;If you don’t have Homebrew yet, install it with:&lt;br&gt;
&lt;code&gt;/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Then install Node.js:&lt;br&gt;
&lt;code&gt;brew install node&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Verify with:&lt;br&gt;
&lt;code&gt;node -v&lt;br&gt;
npm -v&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why Use nvm?
&lt;/h2&gt;

&lt;p&gt;If you intend to work with different Node.js projects that might require different &lt;strong&gt;Node versions, nvm (Node Version Manager)&lt;/strong&gt; is your friend. It’s available on Linux and macOS and lets you install, update, and switch between Node.js versions with ease. For Windows, there’s a similar tool called nvm-windows.&lt;/p&gt;

&lt;p&gt;If you’ve followed along and reached this point, congratulations — you now know how to install Node.js and npm on your system!&lt;/p&gt;

&lt;p&gt;If you’ve found this guide helpful, I’d love to connect with you! You can find me on these platforms — feel free to reach out, follow, or check out my work:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://zenlinker.vercel.app/" rel="noopener noreferrer"&gt;Portfolio &lt;/a&gt;| &lt;a href="https://www.linkedin.com/in/mr-chiraggarg/" rel="noopener noreferrer"&gt;LinkedIn &lt;/a&gt;| &lt;a href="https://x.com/mrchiraggarg" rel="noopener noreferrer"&gt;GitHub &lt;/a&gt;| &lt;a href="https://x.com/mrchiraggarg" rel="noopener noreferrer"&gt;X (formerly Twitter)&lt;/a&gt; | &lt;a href="https://www.instagram.com/mrchiraggarg/" rel="noopener noreferrer"&gt;Instagram &lt;/a&gt;| &lt;a href="https://www.facebook.com/mr.chiraggarg/" rel="noopener noreferrer"&gt;Facebook&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Connecting with you on these platforms keeps me inspired, and your support motivates me to keep sharing more valuable content.&lt;/p&gt;

&lt;p&gt;I wish you all the best on your coding journey! If you enjoyed this guide, &lt;strong&gt;please show your support by showing your reaction for this blog and hitting the follow button&lt;/strong&gt;. Your encouragement inspires me to continue creating helpful content like this.&lt;/p&gt;

&lt;p&gt;If you found me helpful and want to treat me, you can &lt;strong&gt;&lt;a href="https://buymeacoffee.com/zenlinker" rel="noopener noreferrer"&gt;buy me a coffee&lt;/a&gt;&lt;/strong&gt; to help me stay active and keep posting more great content proactively.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Thank you so much for reading, and for being part of this journey!&lt;br&gt;
*&lt;/em&gt;&lt;/p&gt;

</description>
      <category>node</category>
      <category>npm</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
