How to install Node.js on Windows Cloud Servers

2020-02-06 By Gary 1597 Views windows node.js development
1 reviews

Node.js is a free, open-source and cross-platform Javascript run-time environment to execute server-side Javascript code. It can be used to develop intensive and dynamic web applications such as video streaming sites and single-page applications. This tutorial will guide you on how to install Node.js on Windows server.


  1. Download the Node.js .msi Installer from the official website ( https://nodejs.org/en/download/ ).

  2. Run the Node.js installer from the downloaded folder.

  3. Welcome to the Node.js Setup Wizard, click Next.

    nodejs1

  4. Check the box I Accept the terms in the license Agreement and click Next.

    nodejs2

  5. Select the Destination Folder and click Next.

    nodejs3

  6. On Custom Setup, select the required features and click Next.

    nodejs4

  7. Tools for Native Modules is optional. Check the box Automatically install the necessary tools if needed and click Next.

    nodejs5

  8. Click Install to begin the installation.

    nodejs6

  9. After Node.js is successfully installed, click Finish.

    nodejs7

  10. To verify the Node.js was Properly installed, open CMD and type node -v ,the command prompt will print the version Installed.

    nodejs8

  11. Now you may testing Node.js.

  • Create a .js file with the help of any text editor. nodejs10

  • Copy and paste the following into the newly created file and save as it with .js extension.

    var http = require('http');

    http.createServer(function (req, res) {

    res.writeHead(200, {'Content-Type': 'text/html'});

    res.end('Hello World!');

    }).listen(8080);

    nodejs10

  • Open a web browser, and enter the URL into the address bar.

    http://localhost:8080

    Hello World will be displayed in the browser.

    nodejs9


Related Tutorials

What do you think about this article?

Rate this article