In this video, Emmanuel Henri goes over the proper steps to install npm on Linux.
- [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…
Released
10/16/2018- Installing Node and npm
- Adding and removing node packages
- Updating a package
- Working with an NPM cache
- Running an NPM audit
- Introduction to NPX
Share this video
Embed this video
Video: Installing Node/npm on Linux