Mastering Node.js (15 Blogs) Become a Certified Professional

Node JS Installation – Know How To Download & Install Node.js

512 Views
Node JS Installation – Know How To Download & Install Node.js

MI-new-launch

myMock Interview Service for Real Tech Jobs

myMock-mobile-banner-bg

myMock Interview Service for Real Tech Jobs

  • Mock interview in latest tech domains i.e JAVA, AI, DEVOPS,etc
  • Get interviewed by leading tech experts
  • Real time assement report and video recording

Node.js is one of the most powerful JavaScript frameworks that has been acting as a backbone of front end development since ages. This is why front end developers worldwide actively opt for Node.js Certification. You can check out my Node.js Tutorial to get some basic insights of it. But before you get started, you need to install Node.js in your system. Through the medium of this Node JS Installation article, I will give you step by step explanation of how it’s done.

In order to get started with Node.js, you need to install the following in your windows system:

  1. Node.js Installation
  2. NPM (Node Package Manager)
  3. IDE or Text Editor

Node.js Installation

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/.

Installation Step 1 - Node JS Installation - EdurekaSTEP 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.

Installation Step 4 - Node JS Installation - EdurekaSTEP 5: Checkmark on the “I Agree” checkbox and click on the ‘Next’ button.

Installation Step 5 - Node JS Installation - EdurekaSTEP 6: By clicking on ‘Change’, set the path, where you want to install the NodeJs file and then click on next.

Installation Step 6 - Node JS Installation - EdurekaSTEP 7: Again, click on next.

Installation Step 7 - Node JS Installation - EdurekaSTEP 8: Now, click on the ‘Install’ button to finish up the installation process.

Installation Step 8 - Node JS Installation - Edureka

STEP 9: Once done with the installation, click on the ‘Finish’ button to exit the installation wizard.

Installation Step 9 - Node JS Installation - Edureka
With this, you are done with the most important part of the Node.js Installation. Now, let me now throw some light on another core module of Node.js without which Node.js won’t work.

NPM (Node Package Manager) Installation

NPM is the default package manager for Node.js that is completely written in Javascript. It helps in managing the packages and modules required for Node.js functioning and provides a command line client npm. Packages in Node.js are the entities which bundle up all the necessary files that are required for a module. Now, by modules, I mean the JavaScript libraries which can be incorporated in your project. Apart from this, using package.json file, Node.js can easily install all the required dependencies of the project. Also, you can update or install various packages using npm.

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

IDE/ Text Editor Installation

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:

  1. Cloud9
  2. IntelliJ
  3. Webstorm
  4. Brackets
  5. Sublime

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.

node filename.js

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.

Comments
0 Comments

Browse Categories

Subscribe to our Newsletter, and get personalized recommendations.