- [Instructor] The easiest way to get Node.js
is to install it from the website.
So I can go to the browser and go to nodejs.org,
and right here on the nodejs.org homepage,
your operating system is detected,
and the two versions of Node.js
that you might want to install are selected for you.
So we have 14.6.1, that's the current stable version,
and then we have 16.0.0,
and this is the Node.js with the latest features.
I'm going to go ahead and install 16.0.0
by clicking on it and then downloading the package.
So I can see down here that we have the package downloaded.
I will show that in the finder.
And then from the finder,
I can go ahead and double click on the package itself,
and that will open up the installer.
All I have to do is follow the instructions.
We can see here that it's going
to install Node.js version 16 and npm version seven.
That's fine, so we'll continue.
We will agree to the license agreement.
So then I will go ahead and click the install button,
and enter my password, and we will install Node.js.
So there we go.
Now I can actually come over here
to my terminal that I have open.
On any terminal, you can check
the current version of Node.js that's installed
by typing node dash v, and that will give us
the current version of Node that's installed.
So we can see that we have version 16.0.0.
Now we're ready for the rest of the class.