<?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: owujib</title>
    <description>The latest articles on DEV Community by owujib (@owujib).</description>
    <link>https://dev.to/owujib</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%2F353539%2F6cab5b9b-518b-496c-9ba4-6e69bf2204cf.png</url>
      <title>DEV Community: owujib</title>
      <link>https://dev.to/owujib</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/owujib"/>
    <language>en</language>
    <item>
      <title>Easy steps to set up Nodejs for development</title>
      <dc:creator>owujib</dc:creator>
      <pubDate>Sat, 16 Jul 2022 00:31:57 +0000</pubDate>
      <link>https://dev.to/owujib/how-to-set-up-nodejs-hcg</link>
      <guid>https://dev.to/owujib/how-to-set-up-nodejs-hcg</guid>
      <description>&lt;h3&gt;
  
  
  What is Nodejs
&lt;/h3&gt;

&lt;p&gt;Nodejs is a :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;a run-time environment that allows JavaScript code to be executed outside of a browser&lt;/li&gt;
&lt;li&gt;features an event-driven architecture that allows for asynchronous I/O (input/output) and is thus utilized in many real-time web applications, such as chat applications and game servers.&lt;/li&gt;
&lt;li&gt;There are two primary use cases: server-side scripts and command-line utilities.&lt;/li&gt;
&lt;li&gt;There is no need to master two languages to create full-stack applications because you can use javascript from the UI to the server you can read more &lt;a href="https://nodejs.org/en/about"&gt;about Nodejs&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  How to install Nodejs
&lt;/h4&gt;

&lt;p&gt;To run Javascript on a server you need to have Nodejs installed. To install Nodejs and installing Nodejs is an easy step &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Install Nodejs versions with even numbers because those releases are more stable&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Windows
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Visit &lt;a href="https://nodejs.org/en"&gt;Nodejs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Click on the recommended download button or select your binary installer, after downloading click on the .exe file to install on your PC&lt;/li&gt;
&lt;li&gt;Run the installer&lt;/li&gt;
&lt;li&gt;Sometimes you need to restart your PC. After that open your command prompt (press the win key + R and type cmd on the input box)&lt;/li&gt;
&lt;li&gt;After opening the command prompt type &lt;code&gt;node --version&lt;/code&gt; to get the version on Nodejs installed&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  macOs
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Visit &lt;a href="https://nodejs.org/en"&gt;Nodejs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on the “ macOS Installer ” option to download the .pkg installer. Make sure you download it to your desired location.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run the installer&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Installing from home brew &lt;code&gt;brew install node&lt;/code&gt; after that run &lt;code&gt;node  --version&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h4&gt;
  
  
  Linux
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;Open your terminal and run &lt;code&gt;sudo apt install nodejs&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Installing on Arch Linux &lt;code&gt;pacman -S nodejs npm&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;nodejs --version&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What next to do after installing Nodejs? In my next article, I will be showing how to create a simple server using the Expressjs library&lt;/p&gt;

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