How to Install Node.js® and NPM on Windows
what is Node?

Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser.

About Node.js®

In the first place, Node.js is free.

As an asynchronous event-driven JavaScript runtime, Node is designed to build scalable network applications.

Node.js files contain tasks that will be executed on certain events.

Like any javascript file, Node.js files have the extension ".js"

The platforms where Node js can run.
  • Unix
  • Linux
  • Windows
  • Mac OS X among others...
What can I do with Node js?

With Node js you can do anything you feel like;

  • Node.js can create, open, read, write, delete, and close files on the server
  • Node.js can collect form data and store it in databases like MYSQL, MONGO DB among others.
  • Node.js can generate dynamic page content on your Site/App
  • Node.js can add, delete, modify data in your database
What you should know!

Node isn’t a program that you simply launch like Microsoft documents or Adobe programs. To use Node you must type command-line instructions, so you need to be comfortable with a command-line tool like the Windows default Command Prompt(CMD), PowerShell or the Git shell.

Installing Node and NPM are pretty simple using the installer package available from the Node.js® official web site.

Installation Process/Steps.
  1. Download the Windows installer from the Nodes.js® official web site and save it in your preferred folder.
  2. Run the installer (the .msi file you downloaded in the first step).
  3. Follow the prompts in the installer.
    • Accept the license agreement
    • click the NEXT button a bunch of times and accept the default installation settings.
  4. Restart your computer because you won’t be able to use Node.js® until you restart it.
How do you tell that node was installed successfully?

To make sure that you have Node and NPM installed. Simply run some simple commands to see what version of each is installed.

Here is how you check up for the versions;

  • Press window button + R at the same time on your computer. A run dialog box will pop up and type: CMD and click OK
  • Inside the black shell that will be presented to you, Type:: node -v to check for the NODE installed version.
  • Lastly, Type:: npm -v to also check for the NPM installed version.
Related Post(s)

» A JavaScript library for formatting and manipulating numbers - Numeral.js

» Learn how to Switch Between Dark and Light Mode With CSS and Javascript

» How to recreate Facebook's console warning

» JavaScript Quiz App Source Code

» Learn how to create a progress bar using JavaScript

collections_bookmark Category :: Javascript
date_range Published :: 2 years ago At: 01:04 PM
event_note Detailed Date :: May 22nd, 2019
person Writer :: Code
  • RECENT POSTS
1 week ago

A JavaScript library for formatting and manipulating numbers - Numeral.js

Check out this lightweight JavaScript library used for formatting and manipulating numbers.


1 month ago

All Countries Drop Down List | HTML Select Country Name

This simple country dropdown list is freely available for you to copy and use in your project forms.


1 month ago

HTML Entities Code Alphabet Discovery Using JavaScript

In this post I will show how writing just a few lines in JavaScript will allow you to render, browse and discover the alphabetical letters using a set of HTML entity codes.


1 month ago

YTS YIFY MOVIES API - PROJECT PREVIEW

Download YTS YIFY movies using this simple project I created using their API.


1 month ago

Display Random Advice On Your Website or Web App Using Advice Slip JSON API

Here is a short project to display the use of APIs. I decided to work with an advice API because it seemed like a fun one that I haven't worked on before.


3 months ago

How do I get a YouTube video thumbnail from YouTube using PHP

Have you ever been on youtube and admired a thumbnail of a video?


5 months ago

How to recreate Facebook's console warning

When I was inspecting some code on Facebook. I came across this interesting feature. A simple styled console warning message from Facebook to its dear users(products).


8 months ago

How To Create A Stacked Gallery Using HTML And CSS Source Code

In this post I provide you with the source code for the youtube tutorial I made on how to create a Stacked image gallery Using HTML and CSS.


Subscribe
  • ADVERTISEMENT

YOU MAY LIKE THESE POSTS

share