Search Posts

Node.js installation configuration

Node.js installation configuration

In this chapter we will introduce you to how to install Node.js on Windows and Linux.

This installation tutorial uses the Node.js v4.4.3 LTS (Long Term Support Version) version as an example.

The Node.js installation package and source code download address is:Https://nodejs.org/en/download/.

nodejs_download

You can choose the Node.js installation package you need for different platform systems.

Node.js historical version download address:Https://nodejs.org/dist/

note:
Installing Node.js on Linux requires Python 2.6 or 2.7. It is not recommended to install Python 3.0 or higher.


Install Node.js on Windows

You can install it in two ways.

1, Windows installation package (.msi)

32-bit installation package download address:Https://nodejs.org/dist/v4.4.3/node-v4.4.3-x86.msi

64-bit installation package download address:Https://nodejs.org/dist/v4.4.3/node-v4.4.3-x64.msi

The example in this article uses the v0.10.26 version as an example. Other versions are similar.installation steps:

Step 1: Double-click the downloaded installation packageV0.10.26,As follows:

install-node-msi-version-on-windows-step1

Step 2: Click on the above Run, the following interface will appear:

install-node-msi-version-on-windows-step2

Step 3: Check the Accept Protocol option and click the next button:

install-node-msi-version-on-windows-step3

Step 4: The default installation directory for Node.js is “C:\Program Files\nodejs\”. You can modify the directory and click next:

install-node-msi-version-on-windows-step4

Step 5: Click on the tree icon to select the installation mode you need, then click Next next

install-node-msi-version-on-windows-step5

Step 6: Click Install to start installing Node.js. You can also click Back to modify the previous configuration. Then click next:

install-node-msi-version-on-windows-step6

install-node-msi-version-on-windows-step7

install-node-msi-version-on-windows-step8

node-version-test

install-node-exe-on-windows-step1

install-node-exe-on-windows-step21

node-version





  • "Node.js"
  • node hello.js

    http.createServer()
    listen()



Leave a Reply