Skip to main content

How to Download & Install Node.js and npm on Windows ?

How to install Node.js & npm on Windows

In the first steps in using Node.js is the installation of the Node.js libraries on the client system. Now a day npm is coming with Node.js file. To perform the installation of Node.js, follow the below steps;
Step 1) Go to the site https://nodejs.org/en/download/ and download window installer file for node.js. In our example, we are going to download the 64-bit setup files for Node.js..



Step 2) Right click on the downloaded .msi file to start the installation. Click the Install option on the first screen to begin the installation.


Step 3) In the next screen, click the "Next" button to continue with the installation


Step 4) Now tick/click on "checkbox I accept the terms in the License Agreement" and then click on "Next" button



Step 5) It will automatically select the path or you can optionally choose path by using "Change " button. Here we are going to Just Click on "Next" button.



Step 6) Accept the default components and click on the "Next" button.


Step 7) Click on "Next" button and it will install the default.


Step 8) Finally Click on "Install" button to start installation. If it is asking for any permission,please allow/accept it.



Step 9) Click on "Finish" to Close the window. Now Node.js & npm has installed in our system.

Check & confirm that which version of node.js & npm has installed in our system-

Node.js version Command- node --version & click enter

Here Node.js version 12.18.2 has installed as shown below



npm version Command- npm --version & click enter

The below window is showing the result npm version 6.14.5




Comments

Popular posts from this blog

How to send email using SharePoint REST API in jQuery/JavaScript?

  Send email using SharePoint REST API in jQuery/JavaScript: We can able to send email to the SharePoint user using below REST API on SharePoint Online. We need to load SP.js file in code. we must need to give valid SharePoint user to send email. We can able to send email to valid SharePoint user of same organization.      var   restAPI  =  _spPageContextInfo . webAbsoluteUrl  +  "/_api/SP.Utilities.Utility.SendEmail" ;      $ . ajax ({          contentType:   'application/json' ,          url:   restAPI ,          type:   "POST" ,          data:   JSON . stringify ({              'properties' :  {             ...

How to get all site users of SharePoint using REST API?

Get all users of SharePoint site using REST API: These users and its data are required to update people field of a SharePoint list. By using below snippet code we can able to get details of a user of SharePoint site.     var webURL = _spPageContextInfo.webAbsoluteUrl+"/_api/Web/SiteUsers";         $.ajax({           url: customFieldURL,           method: "GET",           headers: {             "Accept": "application/json; odata=verbose"           },           success: function (data) {            console.log(data);             data.d.results.forEach(function(cm){                     console.log(cm.Title+" - "+cm.Email+" - "+cm.Id);             });      ...