How to install and verify Node.js & NPM on windows

What is node.js

Node.js is a very powerful JavaScript-based framework built on JavaScript.

It is used to develop I/O intensive web applications mostly angular JS application.

Node.js is open source, completely free.

What is npm [Node package manager]

npm is a online repository for the publishing of open-source Node.js projects, npm makes it easy for JavaScript developers to share the code and update.

Note : npm is distributed with Node.js– which means that when you download Node.js, you automatically get npm installed on your computer.

Where to get node.js

Navigate to, download specific to your platform.

Verify if node.js and npm installed on windows

Open cmd [Start > Run > cmd] and

to verify node.js installation – type node -v

to verify npm installation – type npm -v

Run java script using node.js

Create a file test.js under c:\ drive


console.log(‘test.js file executed using node’);

Now open cmd and type c:\>node test.js

Uninstall node.js

Windows Control Panel > Programs and features > Uninstall node.js as other normal windows applications.

You may also like...

1 Response

  1. Thanks for sharing such a fastidious opinion, article is pleasant, thats why i have read it entirely

Leave a Reply

Your email address will not be published. Required fields are marked *