Introduction and installation of node. js

Source: Internet
Author: User

I. Introduction and installation of node. js

A) What is node. js?

    1. node. JS is a development platform
    2. Let JavaScript run on the server-side development platform

---Simple is to write a server with JavaScript .

b) node. js feature?

    1. It can do Web sites with complex logic.
    2. Be able to do big web apps based on social networks
    3. Can do a Web socket server
    4. Can do TCP/UDP socket application
    5. Ability to develop command line tools
    6. Can do interactive terminal programs and so on.

c) node. JS features?

    1. The best feature is the asynchronous I/O and event-driven architecture design
    2. Single-threaded model used by node. JS (implemented via callbacks)

d) node. JS Development History

A man named Ryan Dahi, he wants to put the server-side code and response to the client's code unified, and designed a development platform.

e) node. JS Installation

    1. Official Web download (the development of the general should be downloaded on the official website)

Installation package Address https://nodejs.org/en/download/

2. Check if the installation is successful

(1) In the Terminal of window: View path

(2) If you see the Nodejs in Path,

Input command: node–version, check its version number, can see, indicating that the installation was successful.

Introduction and installation of node. js

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.