<?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: Philip Onuchukwu</title>
    <description>The latest articles on Forem by Philip Onuchukwu (@_sirphil).</description>
    <link>https://forem.com/_sirphil</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%2F876718%2F0d87b5a5-3e43-4b1f-8900-3c922f7d4038.jpg</url>
      <title>Forem: Philip Onuchukwu</title>
      <link>https://forem.com/_sirphil</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/_sirphil"/>
    <language>en</language>
    <item>
      <title>Bugs And Programmers</title>
      <dc:creator>Philip Onuchukwu</dc:creator>
      <pubDate>Mon, 28 Nov 2022 15:36:32 +0000</pubDate>
      <link>https://forem.com/_sirphil/bugs-and-programmers-1b8h</link>
      <guid>https://forem.com/_sirphil/bugs-and-programmers-1b8h</guid>
      <description>&lt;h1&gt;
  
  
  Intro
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Bugs that develop a good developer
&lt;/h2&gt;

&lt;p&gt;The idea of The Bugs that Develop a good software engineer was greatly inspired by the experiences all levels of programmers have encountered. Over time, you would come to understand how to build or write clean code with the existence of bugs. This is a fact that is very mostly verifiable by many developers, software engineers, and programmers who have experienced bugs during or after development. &lt;br&gt;
Be it a beginner, specialist, or expert. Many times,  you would have to encounter bugs that kept you stuck in a spot for hours, days, or weeks, as the case may be. During the learning phase or on a project for deliverables. Nevertheless, you’ve also found headway to resolve and continue either learning or developing the project to be delivered to the client. Then and there, it becomes a huge relief for every level of developer you know.&lt;/p&gt;

&lt;h2&gt;
  
  
  Good Software Solution
&lt;/h2&gt;

&lt;p&gt;A good software solution here is referred to a program that satisfies users' experience, scalability, performance, security, availability, adaptability, and economy that will perform time-consuming tasks. Built on clean architecture and takes different phases of debugging and testing. &lt;br&gt;
Upon this process of determining performance, you will surely come across annoying and frustrating multiple lines of error messages pointing at what the possible fix could be. As a developer, you shouldn’t be scared as this is no different from any successful developer you look up to today. This is an obvious reason you should know the different types of errors or bugs encountered during the development process.&lt;br&gt;
&lt;em&gt;As a developer, you create bugs and fix them. Having to understand this, let's look into some common errors you face during development. With the very first.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Syntax Error:&lt;/strong&gt;&lt;br&gt;
This kind of bug is generated when a programmer chooses not to follow the language rules of a computer programming language.&lt;br&gt;
A simple example of this is the &lt;code&gt;print(“hello”)&lt;/code&gt; &lt;br&gt;
in a python programming language, and then mistakenly didn’t add one of the quotes in the parenthesis or use a &lt;br&gt;
&lt;code&gt;Print(“hello”)&lt;/code&gt; in Case sentence format. &lt;br&gt;
&lt;code&gt;&amp;lt;h3&amp;gt;MULTIPLY 1452 by 4 = {{1452*4}}&amp;lt;/h3&amp;gt;&lt;/code&gt; Angular data binding with just &lt;code&gt;{}&lt;/code&gt; single curly brace. &lt;br&gt;
These simple mistakes would generate a bug on your code. Avoiding this type of error is to understand the grammatical rules of that language&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Logic Error:&lt;/strong&gt;&lt;br&gt;
This occurs when you’ve programmed the software to do the wrong thing. A technical mistake caused by an incorrect software program flow and having and not considering some other execution scenario.&lt;br&gt;
&lt;strong&gt;- Arithmetic Error:&lt;/strong&gt;&lt;br&gt;
An arithmetics error is another type of logic error that involves mathematical expression. This type of bug returns incorrect values which could be a result of your software using the wrong algorithm to perform simple or complex mathematical calculations or calculations with data type mismatch.&lt;br&gt;
&lt;code&gt;int NumA, int NumB, Rem,&lt;/code&gt; &lt;code&gt;NumA/Rem&lt;/code&gt;will return an error since the values of Rem are not declared with a data type to perform &lt;br&gt;
&lt;strong&gt;- Functional Errors:&lt;/strong&gt;&lt;br&gt;
This is a more extensive type of error that mostly occurred when intelligent software seemed not to behave as designed. Functional error is experienced when interacting between API calls. This bug is also created by you as any bugs experienced during development. You can see this play out when interacting with API endpoints. For example, you make a request to Send or Submit a form to the Store. On hitting the ‘Save Button’, as expected the result should be that the details be sent into the Store (Database). However, the information from your Form isn’t in the Database(400 Bad Requests). This is a typical example as experienced in most scenarios. Getting these excruciating biting bugs, you created, requires a proper and thorough inspection.&lt;br&gt;
&lt;strong&gt;- Runtime Error:&lt;/strong&gt;&lt;br&gt;
This is a type of error that occurs during program execution or simply running of the program. An example of a runtime error comes in the form of assigning a value to an undeclared variable or a missing semicolon. these will cause a runtime error as the server would not recognize or interpret the code. Also, users get hold of the codes and run them on a different machine not used in developing it. This is another very annoying, frustrating, time-consuming bug caused by the developer due to not getting a complete setup, this causes a runtime error. You can check out more examples of errors on how to handle them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Debugging the Bug
&lt;/h2&gt;

&lt;p&gt;As early stated, developers of all levels have experienced some form of bugs or errors in their codes during or after their development phase. You should as a developer endeavor to study line by line the output of these bugs and learn a lot from them. &lt;em&gt;Computer bugs are your best friend at the end of it all because bugs make you understand a whole lot in programming.&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;if debugging is the process of removing bugs, then programming must be the process of putting them in&lt;br&gt;
  Edsger W. Dijkstra&lt;/p&gt;
&lt;h2&gt;
  
  
  Definition
&lt;/h2&gt;

&lt;p&gt;Debugging is a technique used to find and remove errors or bugs in a program.&lt;br&gt;
This involves a multi-step process in software development, which includes you Investigating to identify the bugs, finding their source, and fixing it to make the program error-free. This process of investigating and correcting errors in the code to have an error-free code. Is an integral process involved in the SDLC (software development life-cycle)&lt;br&gt;
Debugging process is not only practiced in the software development process as it’s also an integral technique used in hardware development. In &lt;strong&gt;hardware development,&lt;/strong&gt; the debugging process is practically investigating each hardware component to determine which parts are not installed or configured properly. This process of investigation could be done as soon as the process of installation begins. As in the case of debugging program source code, that starts out the moment you write your first line of program code.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Debugging tools
&lt;/h2&gt;

&lt;p&gt;Debugging tool generally known as a debugger is a software tool that enables a developer to identify errors in different phases of the software development process.&lt;br&gt;
The debugger is so efficient as to analyze each line of your code to identify which line stopped the program execution and also interpret each network passage when interacting with the API (application programming interface) call or request with dev tools.&lt;br&gt;
There are lots of standalone debugging tools to look at but would limit this article to the power and uniqueness of the debugger most software developers uses in our IDEs. &lt;em&gt;Research further&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Visual Studio:&lt;/strong&gt; For .Net developers, it’s very powerful to detect errors and enable programmers with controls to set a breakpoint and analyze code to identify bugs.&lt;br&gt;
&lt;strong&gt;- Visual studio code:&lt;/strong&gt; The debugger integration in VScode is super intelligent to understand any developing programming language used in it. By just installing their extension. Most developers have welcomed the use of this general-purpose IDE, as you would also prefer to use it.  Simply because it's handy for C#, Python, C++, Php, Ruby, Typescript, JavaScript etc,&lt;br&gt;
&lt;strong&gt;- Browser debugging tool (DevTools):&lt;/strong&gt; The browser debugging tool is another handy and very powerful debugging tool every developer should get to understand its usage and make use of. For testing out performance in the browser. For example, there’s a functional error experienced. &lt;/p&gt;

&lt;h2&gt;
  
  
  Handling Bugs
&lt;/h2&gt;

&lt;p&gt;They may be seen as boring and frustrating most time because in many cases they appear to be very common. handling bugs will require you to; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Investigate each line of code.&lt;/li&gt;
&lt;li&gt;Leverage the use of debugging tools &lt;/li&gt;
&lt;li&gt;Study Each code block and console log&lt;/li&gt;
&lt;li&gt;Do research on &lt;a href="https://www.google.com"&gt;google&lt;/a&gt; and &lt;a href="https://stackoverflow.com"&gt;Stackoverflow&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Take a rest. (You tend to resolve most challenges with a little moment of relaxation that clears the)&lt;/li&gt;
&lt;li&gt;Always expect bugs.
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion:
&lt;/h2&gt;

&lt;p&gt;Bugs are mostly created and fixed by programmers and software engineers. It also helps your understanding of different programming languages in use. Learn alongside the bugs you encountered and document each experience encountered bugs for reference.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>A Tour into CLI.</title>
      <dc:creator>Philip Onuchukwu</dc:creator>
      <pubDate>Tue, 15 Nov 2022 09:45:41 +0000</pubDate>
      <link>https://forem.com/_sirphil/a-tour-into-cli-39hc</link>
      <guid>https://forem.com/_sirphil/a-tour-into-cli-39hc</guid>
      <description>&lt;h2&gt;
  
  
  Understanding The CLI As a BEGINNER
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Brief History
&lt;/h3&gt;

&lt;p&gt;In the 1960s, the use of computer terminals was first introduced, this was the only design pattern to interact with computers. In the 1970s and 1980s, command line input was commonly used by Unix systems and PC systems like MS-DOS and Apple DOS. It does not support the use of a mouse, the user inputs the command through the keyboard and the computer executes the instruction.&lt;br&gt;
The essence of this article is to get you an understanding of basic CLI commands used during most development processes by software engineers. Every developer, during their journey as a software engineer, Web developer, Android, and Embedded system programmer must always come across the use of commands in their terminals to create packages and bundles for tooling their application.  This makes development processes faster and handier. Nevertheless, you should have an understanding or clearer interpretation of what each line does as well when navigating across each directory.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is CLI
&lt;/h3&gt;

&lt;p&gt;Let's look into the acronym CLI, which stands for any of the followings;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Command Line Interface&lt;/li&gt;
&lt;li&gt;Command line Interpreter&lt;/li&gt;
&lt;li&gt;Command Line Input&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is a command line program that accepts text input to execute operating system functions. CLIs are often used by programmers and system administrators, in engineering and scientific areas of discipline, and by technically advanced personal computer users. It consists of Syntax and Semantics: &lt;/p&gt;

&lt;h3&gt;
  
  
  The Syntax Of CLI:
&lt;/h3&gt;

&lt;p&gt;Syntax is the grammar that all commands must follow. They're a set of rules that the command must follow and also dictate how a user navigates through the system command. &lt;/p&gt;

&lt;h3&gt;
  
  
  The semantics of CLI:
&lt;/h3&gt;

&lt;p&gt;Semantics define what sort of operations are possible, on what sort of data these operations can be performed, and how the grammar represents these operations and data. Here, it is the symbolic meaning of syntax&lt;br&gt;
A typical example of this is &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;DOS command &lt;code&gt;C:\&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Linux Command &lt;code&gt;&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;NPM commands &lt;code&gt;C:\&amp;gt;npm install packages&lt;/code&gt; or &lt;code&gt;&amp;gt; npm install packages&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try out this command to know who it is, that the PC you’re using represents&lt;br&gt;
Prompt &lt;code&gt;c:\&amp;gt;  Whoami&lt;/code&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6dB_GIgS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tjomvv8g3m4chohq5s7m.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6dB_GIgS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tjomvv8g3m4chohq5s7m.PNG" alt="checking your pc name with cli" width="384" height="134"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The GUI
&lt;/h3&gt;

&lt;p&gt;The command line existed before the GUI which is presently widely used. It's very much a great deal to discuss the GUIs as well.&lt;br&gt;
GUI is simply the graphical user interface, The innovative design of GUI limited the use of command lines in later years as program executions and applications now use beautifully designed UI/UX to run applications at a click. With the GUI, most users never experience the use of the command line interface.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Concept of CLI
&lt;/h3&gt;

&lt;p&gt;With the widely used GUI, the command line Interface still plays a vital role in usage for software engineers, statisticians, and engineers of different fields such as embedded system designers.&lt;/p&gt;

&lt;h4&gt;
  
  
  The command-line
&lt;/h4&gt;

&lt;p&gt;The parameter is an item of information provided to a program when it is started. A program can have many command-line arguments or parameters that identify sources or destinations of information, or that alter the operation of the program.&lt;br&gt;
This source and destinations can be navigated with the use of two attributes parts namely the&lt;br&gt;
&lt;em&gt;Prompt: &lt;br&gt;
Which is always the initial state prompting the user to key in a command.&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Command Line: &lt;br&gt;
Which consists of the command, option or flag, the file specification, and switches&lt;/em&gt;&lt;br&gt;
For example; With the CLI you can navigate to display a picture gallery. Using the parameter &lt;br&gt;
&lt;code&gt;Prompt &amp;gt; command line (this includes command and filespec)&lt;/code&gt; there are some hands-on command lines to try out using your PCs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--H7dO1VJb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i357dek1ma6a0tztj43m.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--H7dO1VJb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i357dek1ma6a0tztj43m.jpg" alt="Navigating with CLI" width="519" height="152"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Using the command prompt parameter
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Change directory &lt;em&gt;(CD)&lt;/em&gt;&lt;br&gt;
This is used to change paths and navigate to a specific directory or folder. &lt;br&gt;
&lt;code&gt;Prompt&amp;gt; cd pictures&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Change the directory backward in one step &lt;em&gt;(CD ..)&lt;/em&gt;&lt;br&gt;
Using the dot-dot space after the &lt;em&gt;CD&lt;/em&gt; changes directory to the previous or preceding folder moving it one level up&lt;br&gt;
&lt;code&gt;Prompt&amp;gt; cd ..&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Change directory to root directory &lt;em&gt;(CD /)&lt;/em&gt;&lt;br&gt;
This will navigate you to the root directory of the command prompt if you’re already in the picture directory or move to root&lt;br&gt;
&lt;code&gt;Prompt&amp;gt; pictures&amp;gt; cd /&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To create a new directory &lt;em&gt;(MKDIR or MD)&lt;/em&gt;&lt;br&gt;
This command is used to create a new directory in a specified location&lt;br&gt;
&lt;code&gt;Prompt&amp;gt; cd desktop/mkdir New folder&lt;/code&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To remove a directory of the folder &lt;em&gt;(RMDIR or RD)&lt;/em&gt;&lt;br&gt;
This command will remove a created folder from its location&lt;br&gt;
&lt;code&gt;Prompt&amp;gt; rmdir newfolder&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To clear up the screen &lt;em&gt;(cls or clear)&lt;/em&gt;&lt;br&gt;
This command is used to clear up the screen after multiple commands have been executed. However, with the keyboard up, and down arrow keys previously cleared commands can be reused.&lt;br&gt;
&lt;code&gt;Prompt &amp;gt; cls&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To close and exit windows &lt;em&gt;(EXIT)&lt;/em&gt;&lt;br&gt;
Prompt &amp;gt; exit&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To get Help on a command use &lt;em&gt;(HELP)&lt;/em&gt;&lt;br&gt;
This will display the number of commands to be used to navigate the cli&lt;br&gt;
&lt;code&gt;Prompt &amp;gt; help&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Types of CLIs
&lt;/h4&gt;

&lt;p&gt;There are two common types of command Line interface&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Operating system (OS) command-line interfaces are usually distinct programs supplied with the operating system. A program that implements such a text interface is often called a command-line interpreter, command processor, or shell. E.g.  DOS' Windows CMD.EXE programs&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Application programs (as opposed to operating systems) may also have command-line interfaces.&lt;br&gt;
Some applications support a CLI, presenting their own prompt to the user and accepting command lines. Other programs support both a CLI and a GUI.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The use of a command line interface can not be overemphasized. As this could be very relatable to any level of techies during the building of applications where the use of Node Package Manager (npm) CLI parameters are mostly used to install packages and bundle over different thousands of open source npm packages at a go. Such as the CLIs for creating Angular, React, Express, and flutter wave applications. You're encouraged to learn more about the use of CLI for your developments&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Installing Node.js using nvm, the best way.</title>
      <dc:creator>Philip Onuchukwu</dc:creator>
      <pubDate>Tue, 14 Jun 2022 00:20:13 +0000</pubDate>
      <link>https://forem.com/_sirphil/installing-nodejs-using-nvm-the-best-way-5263</link>
      <guid>https://forem.com/_sirphil/installing-nodejs-using-nvm-the-best-way-5263</guid>
      <description>&lt;p&gt;This article is intended to take you through the best way to get node.js LTS running on your windows machine at ease. &lt;/p&gt;

&lt;h2&gt;
  
  
  Node.js
&lt;/h2&gt;

&lt;p&gt;This is an open-source, cross-platform JavaScript runtime environment; that runs on Windows, Linux, Unix, Mac, etc. It's not exclusively designed for the Backend as it also feeds the Frontend with API services and then serves it in real-time. &lt;/p&gt;

&lt;h2&gt;
  
  
  Steps to get node.js installed
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Follow the link to  download nvm &lt;a href="https://github.com/coreybutler/nvm-windows"&gt;nvm repository&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Download the nvm-setup.zip&lt;/li&gt;
&lt;li&gt;Open the zip file, to extract the nvm-setup.exe file.&lt;/li&gt;
&lt;li&gt;install the setup as administrator. the Windows installation wizard will prompt you.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rSCEhLvm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5kf9qc9wc1sbpa02ljqd.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rSCEhLvm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5kf9qc9wc1sbpa02ljqd.PNG" alt="Image description" width="498" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Once the installation is complete. Open your CMD, Gitbash, or PowerShell to list versions currently running or installed. with Windows-nvm (nvm ls)  if non, continue the process.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wpqaJGKT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pcsydlru9o6c1m1ccck8.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wpqaJGKT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pcsydlru9o6c1m1ccck8.PNG" alt="check for current version in use" width="444" height="186"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Check for available versions of node.js to use with (nvm list available)&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gLSq3w9F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ecn59r5flpqqrw1b0aod.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gLSq3w9F--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ecn59r5flpqqrw1b0aod.PNG" alt="list of node.js using nvm" width="571" height="445"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;From the list above chose the recommended version for you. The latest stable release LTS of node.js is highly Recommended. Let us install the LTS version number with(nvm install 16.15.1).&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZGqyPliU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/stm4a76rv886d40gwi0n.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZGqyPliU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/stm4a76rv886d40gwi0n.PNG" alt="latest version of nvm" width="582" height="175"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can now list the versions of node.js that are installed with (nvm ls)&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ax9-uhQV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8wbj4ivlupp7skjotv8w.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ax9-uhQV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8wbj4ivlupp7skjotv8w.PNG" alt="list node.js installed nvm ls" width="494" height="126"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use the Windows-nvm command. (nvm use 16.15.1) to set or activate the current version to be used, you can as well switch version &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Finally, verify that node.js is installed and the version with (npm --version).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;With this you can confidently run all your ng, npx, npm command for Angular, React, etc... smoothly.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Error Handling
&lt;/h2&gt;

&lt;p&gt;Incase you've installed node.js without nvm and you're experiencing errors, try installing it now with nvm. if the error persists, kindly navigate to your local(c:) -&amp;gt; program file -&amp;gt; locate node.js folder and delete it or rename it and continue the installation.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Hope this helps... Cheer&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>react</category>
    </item>
  </channel>
</rss>
