All right, let's get started with Node.js.
The first step is we have to install Node.js first before we can write any Node.js code.
Ah, right.
This is the official homepage for Node JS.
So if you visit Node.js dot org, you're going to have this period for website.
And for this, we can change the theme by toggling this icon, whether you like light or dark theme.
Perfect.
On the home page, it describes what Node.js is all about with one sentence which says that Node.js
is a JavaScript runtime built on Chrome's V8 JavaScript engine.
That's what we have talked about it before.
And on the home page, you can see that automatically it had detected my operating system in case your
scrolling detects.
Click on downloads and here we have these types of versions that we can download for our operating system.
So here we have two versions the Ltz, this version called LTAs, and in a current version, which is
this one.
So what is the difference?
Let me change the theme here.
I think this is cool.
Yes.
So what is the differences between these two versions and which one do we need to download?
The differences between the S version and then the current version is that for the what is the code
base or the packages has been tested and verified and it is ready in production applications.
So with the current, we have new features that is not in the ads.
So if you download the current, we have new features as compared to LTAs.
So for our purpose, let's go ahead and download the current one.
But my advice is that in case you are building production applications, then you need to stick to the
ELTs.
So if you click on car range, you will see that we have this operating system that we can download.
If your Mac click on this, if you Windows click on the Windows icon and down here to for Windows users
and Mac users, you can download based on your operating system to if you want 32 bit or 64 bit, you
can download this ones based on your operating system.
And the cool thing about note is that have a look.
Let's click on looks and here it says that the ltas is it includes and PM NPM stands for node package
manager.
We will cover in details in the upcoming video.
For the meantime, let's ignore this.
But remember that when you download Node.js, we have NPM being installed for LTAs.
It gives us NPM version 8.11.0 and for current it gives us and PM version 8.15.0.
So go ahead and download any of this one based on your operating system.
Perfect.
So our click on mark and going download it for me and the installation is pretty simple.
Just click, click, click, click, click and then you are good to go.
So assuming that we have finished installing, how will we know that it has installed successfully?
But in case you find difficult to install, don't worry.
You can leave a question below or we can ask a question inside our Discord Channel.
So to make sure that Node.js has been installed successfully, this is what you're going to do.
Open your command and type node space, dash v meaning node version.
When I hit enter, you can see that indeed my node has been installed successfully and I have version
18 .7.0 at the time of recording this video and this what we have on the home page, let's go to homepage,
the version of Node which is 18 .7.0.
Now that we have new G has been installed, it's time to write Node.js code.
Let's get into that in the next video.