- [Instructor] So now let's go over the proper steps
to install NPM on Linux.
So the first thing you wanna do
is to make sure that you have a terminal open
in the back, here.
So I have my terminal open inside of Ubuntu
so this is the Ubuntu distribution.
And then let's go back to the browser
and where you need to go is
github.com/nodesource/distributions.
So once you scroll down, find the distribution
that you're using.
So in this case, I'm using Ubuntu
so what I'm gonna do is click on Installation Instructions.
And then all you need to do is copy and paste
the first line and then the second line
and you should be good.
So, let's copy this line.
Let's go into our terminal and do paste.
Enter.
And you need to enter your password.
And once you have that step done,
what you need to do is to go back to here
and then simply do sudo apt-get install.
Copy this line, then go back here,
paste, and enter.
And it's going to install nodejs
and this is how easy it is.
If you wanna check if your version is installed,
you do a node -v and then you'll see the version
that has been installed on your system.
So that means you're good to go.