Java, J2EE & SOA Certification Training
- 35k Enrolled Learners
- Live Class
In order to get started with Node.js, you need to install the following in your windows system:
To begin with the Node JS installation process, first you need to make sure you have sufficient space and your RAM is at least 4GB
STEP 1: You can download Node.js from its official site: https://nodejs.org/en/download/.
STEP 2: In the downloads page, you will see various versions of Node. All you need to do is, click on the box, suitable to your system configurations.
STEP 3: Once you have successfully downloaded the software, go to the downloaded file, and double-click on it.
STEP 4: As soon as you click on the file, an installation wizard will come up. Select ‘Next’ and move further with the installation.
STEP 5: Checkmark on the “I Agree” checkbox and click on the ‘Next’ button.
STEP 6: By clicking on ‘Change’, set the path, where you want to install the NodeJs file and then click on next.
STEP 7: Again, click on next.
STEP 8: Now, click on the ‘Install’ button to finish up the installation process.
STEP 9: Once done with the installation, click on the ‘Finish’ button to exit the installation wizard.
NPM (Node Package Manager) Installation
Node.js version 0.6.3 onwards, npm was included as a default package of Node.js. Thus, there is no need to install it explicitly. So, let me directly show you how you can install, updates and uninstall packages via npm.
npm install package_name
Now, since you are done with the Node.js installation part, you need to start writing the programs. You can write your programs either in some text editors or you can use various IDE’s available for free. Below I have listed down the most popular IDE’s and Text Editors preferred by the Node.js developers.
Top 5 IDE’s and Text Editors are listed below:
To verify whether your installation was successful or not, try executing a Node.js file.
Open your IDE/Text Editor and type in the below code.
console.log('Welcome To Edureka NodeJS Tutorial!');
Save the file with a .js extension such as filename.js.
Now open your Node.js command prompt, navigate to the folder containing the js file. Now, type in the below command and hit enter to display the text in your console.
With this, we come to an end of this article on Node.js installation. I tried to keep the steps as detailed as possible for your better understanding. I hope it gave you a clear understanding of the entire Node.js installation process. So now your system is ready to execute any Node.js program. To get detailed insights into Node.js fundamental concepts, you can refer to my Node.js Tutorial.
If you found this “Node.js Installation” relevant, check out the Node.js Certification Training by Edureka, a trusted online learning company with a network of more than 250,000 satisfied learners spread across the globe.
Got a question for us? Please mention it in the comments section of this Node.js Tutorial and we will get back to you.