<?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>Forem: Lalit Kumar</title>
    <description>The latest articles on Forem by Lalit Kumar (@lalit_kumar_f50f9cb0482b8).</description>
    <link>https://forem.com/lalit_kumar_f50f9cb0482b8</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%2F1591724%2F8dae9376-082d-4fef-bd45-b5c96100f5be.png</url>
      <title>Forem: Lalit Kumar</title>
      <link>https://forem.com/lalit_kumar_f50f9cb0482b8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/lalit_kumar_f50f9cb0482b8"/>
    <language>en</language>
    <item>
      <title>Getting Started with Node JS in MacOS</title>
      <dc:creator>Lalit Kumar</dc:creator>
      <pubDate>Thu, 04 Jul 2024 21:21:16 +0000</pubDate>
      <link>https://forem.com/lalit_kumar_f50f9cb0482b8/getting-started-with-node-js-in-macos-2cc8</link>
      <guid>https://forem.com/lalit_kumar_f50f9cb0482b8/getting-started-with-node-js-in-macos-2cc8</guid>
      <description>&lt;p&gt;Hello Dev.to Readers 👋, &lt;/p&gt;

&lt;p&gt;I will make this post come to the point directly, I will first list all the things which you should do to get started with Node js in your machine with MacOS.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install the Homebrew (brew)&lt;/li&gt;
&lt;li&gt;Install NVM using brew&lt;/li&gt;
&lt;li&gt;Install NODE using NVM&lt;/li&gt;
&lt;li&gt;Install Visual Studio Code using brew&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Let's start with installing Homebrew &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;You can read more about homebrew &lt;a href="https://brew.sh/"&gt;here&lt;/a&gt;  &lt;/p&gt;

&lt;h3&gt;
  
  
  Simply follow the steps below to have it installed
&lt;/h3&gt;

&lt;p&gt;Type the below command in your terminal.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;curl -fsSL -o install.sh https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then carefully follow the instructions on your terminal.&lt;br&gt;
Instruction are only to create your profile files if not already existing and if these files already exists, just add the code which your terminal says to add into the profile's file &lt;br&gt;
&lt;/p&gt;

&lt;h4&gt;
  
  
  Confirm the installation by using the following command
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;brew doctor&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If the commands runs without any error it means your brew is installed properly.&lt;/p&gt;




&lt;h2&gt;
  
  
  Let's Install NVM &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Once you have "brew" installed, installing any other software is just  a piece of cake 🍰 &lt;/p&gt;

&lt;p&gt;To read more about nvm (Node Version Manager) &lt;a href="https://github.com/nvm-sh/nvm"&gt;click here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Type the following command to install NVM&lt;br&gt;
&lt;code&gt;brew install nvm&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Once done, type the below command to confirm if you have installed it successfully&lt;br&gt;
&lt;code&gt;nvm -v&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Get ready to install the Node js now.&lt;/p&gt;




&lt;h2&gt;
  
  
  Let's Install Node &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;As you already have "nvm" installed&lt;/p&gt;

&lt;p&gt;Simply type the below command to install latest stable version of node js &lt;a href="https://nodejs.org/en"&gt;know more&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;nvm install&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To confirm the installation, use the following command&lt;br&gt;
&lt;code&gt;node -v&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;Now, that everything is ready, you need a good IDE to write your code. See instruction below.  &lt;/p&gt;




&lt;h2&gt;
  
  
  Let's Install Visual Studio Code &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;As you have super powers of "brew" at your disposal, you can get visual studio code installed in matter of a single command.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;brew install --cask visual-studio-code&lt;/code&gt;&lt;/p&gt;




&lt;p&gt;If you have reached till here in this setup guide, then Congratulation 🪁 for this achievement.&lt;/p&gt;

&lt;p&gt;Now you can start your journey of a Nodejs Development.&lt;br&gt;
If you need a friend along in this Journey, you can consider connecting with me on &lt;a href="https://www.linkedin.com/in/developwithlalit/"&gt;Linkedin&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is my first ever blog post, so any kind of feedback will be appreciated.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>node</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
