Install Node Js

3 minutes
Share the link to this page
Copied
  Completed

Transcript

In order to run our JavaScript code in Sublime Text, what we need to do is we need to download node j s. And in order to download g j or node j s, you need to get to go to not j s.org. And immediately you will find this option to download for your operating system if you're if you are working on Windows you will get here instead of Mac OS you will get windows and just follow the same procedure and you need to click on recommended for most users, I like to go for this and click on it and it's going to start downloading a file that is about 14 or 15 megabytes. Okay, once the file is downloaded, as you can see here, me to open it, I'm going to open it and here it's going to tell you, this package will be a will install and it's going to give you information and you need to keep in mind You will need to keep this location in some text text editor because we are going to add this later in Sublime Text.

And I'm going to keep these two lines of code. To like two directories. I'm going to keep these two directories in some file here, this one for node j s and the other one for NPM. So I'm gonna copy it again and paste it down below and save this file or this edit this text in your desktop or any safe location because we are going to use it later. To save it. I'm going to click on save on desktop.

And I'm going to name it noids on desktop and save. And then here click on Continue. And then again, click on continue and agree and installation type. Just keep the default. Click on Install. I already installed it but I just want To show you to show you again.

So you need here to fill out the, the username as well as the password and then click on install software. And once you click on install, it's gonna start installing. And as you can see, summary, it's going to give us the summary and again, this is the path that you need again, make here it says make sure that this is your path and click Close. Now to make sure that node has been installed, what you need to do is to open terminal so I'm going to open the terminal here, terminal and if you are working with Windows you need to open CMD or search just search for CMD in Windows and open it it's going to open something like this and follow along. What you need to do is type node and then minus V and hit enter. If it gives you the version, then no one has been installed on your system.

Otherwise There is an error, and I'm going to help you install it. And also you can type which which nodes and hit Enter. And it's going to give you the location where node is installed is currently installed. And as you can see here, mine is installed in user local bin and then not

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.